ThinkGeo.com    |     Documentation    |     Premium Support

V10 - MapSuite Exception when Exit Application

MapSuite Team,

I’ve discovered that under V10 if your application issues a System.Environment.Exit(0) in the Window_Loaded Event the below exception is encountered. This was not the case in V9.

Any suggestions on how to overcome this behavior?

Thanks,
Dennis

System.NullReferenceException was unhandled
Message: An unhandled exception of type ‘System.NullReferenceException’ occurred in ThinkGeo.MapSuite.Wpf.dll

Additional information: Object reference not set to an instance of an object.

Hi Dennis,

Thanks to let us know that, but the information is not enough to reproduce this problem.

Could you please upload a simple sample to reproduce it? Our developer can work for it and try to solve it.

Regards,

Ethan

Ethan,

I upgraded from MapSuite V10.01 to V10.02 and this problem no longer exists.

Dennis

Hi Dennis,

Thanks for your update.

Regards,

Ethan