bustacap Posted September 8, 2020 Share 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 Link to comment Share on other sites More sharing options...
crytilis Posted September 10, 2020 Share 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. Link to comment Share on other sites More sharing options...
walshjupes Posted September 27, 2021 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts