Jump to content
Hotmail and Outlook are blocking most of our emails at the moment. Please use an alternative provider when registering if possible until the issue is resolved.

Reposting This issue as instructed. (null reference exception)


Recommended Posts

Posted (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 by bustacap
Posted
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.

 

  • 1 year later
Posted

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.

 

×
×
  • Create New...