Crashing when locked RRS feed

  • Question

  • Hi

    Im not sure whether this is actually related to VB.Net but im asking here because my project is affected in this instance.

    The project processes data from an XML file and adds data to a 3d model and its components. It runs perfectly fine every time i run it on either the same file of different files but if i run it and then lock my machine (CTRL ALT DEL), the project crashes. The error message i got was 'object not set to a reference' which can occur when a process is attempted without passing its underlying object. for example:

    The project is an addin for Autodesk Inventor and Inventor itself doesnt have any process errors if i lock my screen.

    Is this something that needs to be managed in the project code?


    I am here to ask questions and learn from others. Cor Ligthert DO NOT REPLY TO ANY OF MY POSTS!!

    Thursday, August 27, 2020 2:40 AM

All replies

  • Hi NachoShaw,

    Thank you for posting here.

    >>The error message i got was 'object not set to a reference'

    You need to find the source of a NullReferenceException and determine which line of code caused the exception.

    Then if you need further assistance, you can provide some related code here, and we will analyze your problem further.

    Best Regards,

    Xingyu Zhao

    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, August 28, 2020 2:39 AM