bustacap Posted September 8, 2020 Posted September 8, 2020 (edited) To reiterate it literally worked fine until it didn't. .net 4.8 is already installed (as I did some python and R). After multiple redownloads and uninstalled/reinstall the issue persist. I have seen a few posts where others have this issue also. Thank you for reading. Edited September 8, 2020 by bustacap
Metalios Posted September 10, 2020 Posted September 10, 2020 On 9/7/2020 at 8:56 PM, bustacap said: To reiterate it literally worked fine until it didn't. .net 4.8 is already installed (as I did some python and R). After multiple redownloads and uninstalled/reinstall the issue persist. I have seen a few posts where others have this issue also. Thank you for reading. Can you post a screenshot of the null reference exception? Thanks Quote I am merely the guy with a keyboard and monitor under the stairs.
walshjupes Posted September 27, 2021 Posted September 27, 2021 NullReferenceException means that you are trying to use a reference variable whose value is Nothing/null . When the value is Nothing/null for the reference variable, which means that it is not actually holding a reference to an instance of any object that exists on the heap. string str = null; str.ToUpper(); Above c# code throws a NullReferenceException at the second line because you can't call the instance method ToUpper() on a string reference pointing to null. So, check your code once again.
Recommended Posts