locked
Object reference not set to an instance of an object. Error on my most applications RRS feed

  • Question

  • I am taking "Object reference not set to an instance of an object." on my most applications that I using cause I changed something but I don't know what I changed.. Also I am getting "PowerShell has stopped working" error on every 10 seconds too if you can help on these problems I would really appreciated..
    Wednesday, April 25, 2018 7:09 PM

All replies

  • Hi Kavingo,

    Thank you for posting here.

    For your question, the error is thrown when you try to access a member on a type whose value is null. Please check the scenarios in the MSDN document.

    https://msdn.microsoft.com/en-us/library/system.nullreferenceexception(loband).aspx

    You could check the code which you get the value. Does all the variables not get a null value?

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, April 27, 2018 8:37 AM