Closed GoogleCodeExporter closed 9 years ago
Hi,
Please provide debug information for NullReferenceException.
Open: Visual Studio
Menu: Debug - Exceptions - Common Language Runtime Exceptions
Find: System - NullReferenceException
Do: Tick thrown, untick user-unhandled
Run: AddMember
Thanks..
Original comment by hepha...@gmail.com
on 30 Jan 2009 at 10:58
I didn't reproduce the bug, but I received the same kind of exception on the
RemoveContactFromList method
Here is the complete stacktrace :
at MSNPSharp.ContactService.handleServiceHeader(ServiceHeader sh, Type
requestType)
at MSNPSharp.ContactService.<>c__DisplayClass3f.<RemoveContactFromList>b__3e
(Object service, DeleteMemberCompletedEventArgs e)
at
MSNPSharp.MSNWS.MSNABSharingService.SharingServiceBinding.OnDeleteMemberOperatio
nCompleted
(Object arg)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup
(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal
(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
When handleServiceHeader is called, PreferredHosts is null and the exception
happens
at the line :
PreferredHosts[requestType.ToString()] = sh.PreferredHostName;
I still don't manage to reproduce the bug every time, but it always happen when
I
close my client
Original comment by adh...@gmail.com
on 2 Feb 2009 at 2:40
I think, when you add a new contact then logout immediately or you aren't wait
complete :)
Fixed.
Original comment by hepha...@gmail.com
on 16 Feb 2009 at 1:43
Original issue reported on code.google.com by
adh...@gmail.com
on 30 Jan 2009 at 10:49