Hello,
I am currently developing some control library for windows
forms application in c#. But for some of the test
application it throws up error box
saying "System.NullReferenceException" in the unknown
module as occured.
Upon debugging I found that the error is thrown from the
garbage collector thread. I could figure out the name of
the dll and the method name which is throwing the
exception. It occurs in mscorwks.dll!CallFinalizer()
method.
I do not have clue how this exception is getting
generated.
When the exception occurs the various constructors of the
controls and their embeded constructor is getting called.
It occurs before main form load event.
The other observation is also that the exception started
while we introduced resx file for the various resources in
the control library.
Any pointer?
Thanks
Kachra