Hexagon Geospatial

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Regular Contributor
Posts: 170
Registered: ‎07-07-2016

Error on report, when map geometry is null

[ Edited ]


In GMSC 2016 SP4 I've created a form containing a FormMap.


The form contains report, on which there's a map. All works properly, but in situation when geometry is null, the following error appears on the report:

"An error has occurred while processing PictureBox 'Map2': Object reference not set to an instance of an object."


Is there a way, to check if geometry is null and hide map control on the report?

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.