runtime error in eventlog from System.Messaging

Hi all,

I just found the following eventlog entry in one of our test machines:

EventType clr20r3, P1 linecontrol gui.exe, P2 4.1.1.43, P3 4512623a, P4 system.messaging, P5 2.0.0.0, P6 4333af0f, P7 226, P8 b, P9 system.nullreferenceexception, P10 NIL.

"linecontrol gui.exe" is the application that I created. Looks like a NullReferenceException in System.Messaging to me ?

Anybody got information about that?

I wonder why my application just closes. I don't get an exception in my application that I can catch.

Best Regards

Bernd Ritter

[659 byte] By [B.Ritter] at [2007-12-24]
# 1

I just installed an event listener for the AppDomain.CurrentDomain.UnhandledException delegate.

The excption that is reported there has the following infos:

Declaring Type: System.Messaging.MessageQueue+MQCacheableInfo

Message: Object reference not set to an instance of an object.
Name: Dispose

Argh, same problem that I already mentioned here:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=369114&SiteID=1

I removed my call to System.Messaging.MessageQueue.Dispose() but this doesn't solve the problem :-(

B.Ritter at 2007-8-31 > top of Msdn Tech,.NET Development,.NET Framework Networking and Communication...
# 2
Please post this in the WCF forums
DurgaprasadGorti at 2007-8-31 > top of Msdn Tech,.NET Development,.NET Framework Networking and Communication...

.NET Development

Site Classified