Hi,
We are having following crash when trying to use WMS maps with ThinkGeo 14.1.1.
System.NullReferenceException: Object reference not set to an instance of an object
at ThinkGeo.Core.Async.WmsLayer.<GetRemoteXmlAsync>d__105.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ThinkGeo.Core.Async.WmsLayer.<ProcessCapabilitiesAsync>d__102.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ThinkGeo.Core.Async.WmsLayer.<OpenAsyncCore>d__87.MoveNext()
This crash happens after configuring WMSOverlayer and calling Map.RefreshAsync(). We are not able to re-produce this in test environment with exactly same wms configuration for debugging but it happens in one setup every time.
It looks look that crash occurs while handling capabilites xml file from server. Could you please check is it possible that crash could occur if something non-valid xml is received from server e.g. due bad network connection ? Or is there any other reason why this could happen ?
Br, Simo