Hello,
I'm encoutering another random problem, and I cannot figure where it comes from :
Some times, when loading the map for the first time, I get this exception :
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ThinkGeo.MapSuite.WpfDesktopEdition.GdiPlusLayerTile.x72e495c788ab064e(Object xe0292b9ed559da7d, RunWorkerCompletedEventArgs xfbf34718e704c6bc)
bei System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
bei System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
Translation : Object reference not set to an instance of an object.
This exception is thrown many times, I think it could be one exception per loaded tile.
I'm using the WmsOverlay, with a custom WmsServer, and I've created a CustomWfsLayer which inherits from featureLayern, in order to load features from a Wfs Server. I think this exception can come from one of thoses two layers, but I'm not sure.
Once again, it's pretty difficult to give you some more informations, cause I cannont break in. As the callstack says, this exception comes probably from an Asynchron Worker, but where exactly ?
It is possible that it comes from my code, but I don't have any informations on how to find it. Is there a problem with the pictures sent by the Wms Server ? Or with the features sent by the Wfs Server ? Or is it another Problem ?
Any help or advice will be very helpfull,
Thanks,
Guillaume.