Page 1 of 1
Null Exception after upgrading to dll 2.5.8.0
Posted: Tue Jan 20, 2009 9:22 am
by Ollie
Hi there,
It looks like there may be a bug in the 2.5.8.0 dll. A Null Reference Exception is thrown.
EventType clr20r3, P1 myapp.exe, P2 1.0.0.0, P3 49749486, P4 alt.sms.smppclient, P5 2.5.8.0, P6 4944c955, P7 10e, P8 3b, P9 system.nullreferenceexception, P10 NIL.
I think it might be the disconnect method (ALT.SMS.SmppClient.Disconnect).
Do you have a new version please?
Posted: Tue Jan 20, 2009 9:48 am
by alt
Could you describe steps to reproduce this exception?
Posted: Tue Jan 20, 2009 3:09 pm
by Ollie
It's tricky because it doesn't happen synchronously.
"Object reference not set to an instance of an object."
Stack Trace: " at ALT.SMS.SmppClient.Disconnect()\r\n at ALT.SMS.SmppClient.nmEcN8j6R(IAsyncResult )\r\n at System.Net.LazyAsyncResult.Complete(IntPtr userToken)\r\n at System.Net.ContextAwareResult.CompleteCallback(Object state)\r\n at System.Threading.ExecutionContext.runTryCode(Object userData)\r\n at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)\r\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Net.ContextAwareResult.Complete(IntPtr userToken)\r\n at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)\r\n at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)\r\n at System.Threading._IOCompletionCallback.PerformIOCompletionCallb" at ALT.SMS.SmppClient.Disconnect()\r\n at ALT.SMS.SmppClient.nmEcN8j6R(IAsyncResult )\r\n at System.Net.LazyAsyncResult.Complete(IntPtr userToken)\r\n at System.Net.ContextAwareResult.CompleteCallback(Object state)\r\n at System.Threading.ExecutionContext.runTryCode(Object userData)\r\n at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)\r\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Net.ContextAwareResult.Complete(IntPtr userToken)\r\n at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)\r\n at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)\r\n at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)"
{System.Collections.ListDictionaryInternal}