I upgraded the MapSuite dlls from 4.5.something to 5.0.159 this week.
Frist thing I noticed is the general speed improvement. Map is faster now. I'm happy with it. But at the same time I'm getting a very odd NullReferenceException while loadin the data/refreshing the screen even thought I have an Application_DispatcherUnhandledExceptionFilter that does not catch it. Visual Studio can't just tell me the reason of the problem and the stack trace does not show anything (at least to me)
All this happens the second time I refresh the data, not the initial one, and If I set the Overlay DaweingException to Draw, I see tiles with the cross that gets OK later in the refresh process
Does this stack trace have any sense for you?
System.NullReferenceException was unhandled
Message=Referencia a objeto no establecida como instancia de un objeto.
Source=WpfDesktopEdition
StackTrace:
en ThinkGeo.MapSuite.WpfDesktopEdition.Tile.DrawException(GeoCanvas geoCanvas, Exception exception)
en ThinkGeo.MapSuite.WpfDesktopEdition.Tile.Draw(GeoCanvas geoCanvas)
en ThinkGeo.MapSuite.WpfDesktopEdition.Tile.tBM=(Object tRM=)
en System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
en System.Threading.ExecutionContext.runTryCode(Object userData)
en System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
en System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
en System.Threading.ThreadPoolWorkQueue.Dispatch()
en System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
InnerException: