End Exception

I have a problem with the END command in my project form when the form closes.

It throws an exception, the following is the exception text .

An unhandled exception of type 'System.NullReferenceException' occurred in mscorlib.dll
Additional information: Object reference not set to an instance of an object.

When I catch the exception and try to open a message box this is the exception text.

An unhandled exception of type 'System.InvalidOperationException' occurred in mscorlib.dll
Additional information: LocalDataStoreSlot storage has been freed.

I would appreciate any help with this issue.

Comments

  • Object reference not set to null means that you are using an object variable in a class but it has not been instantiated!!


    Ruchika

    : I have a problem with the END command in my project form when the
    : form closes.
    :
    : It throws an exception, the following is the exception text .
    :
    : An unhandled exception of type 'System.NullReferenceException'
    : occurred in mscorlib.dll
    : Additional information: Object reference not set to an instance of
    : an object.
    :
    : When I catch the exception and try to open a message box this is the
    : exception text.
    :
    : An unhandled exception of type 'System.InvalidOperationException'
    : occurred in mscorlib.dll
    : Additional information: LocalDataStoreSlot storage has been freed.
    :
    : I would appreciate any help with this issue.
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion