[mapguide-users] Java API - MgFeatureReader crashes Tomcat

Jackie Ng jumpinjackie at gmail.com
Thu Jul 23 23:09:34 PDT 2015


If you guard each GetXXX feature reader call with
featReader.IsNull(PROPERTY_NAME), for example:

if (!featReader.IsNull((String)prop.get("name")))
{
    datafield.put("value", featReader.GetInt32((String)prop.get("name"));
}

Does this still crash tomcat?

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Java-API-MgFeatureReader-crashes-Tomcat-tp5216720p5216807.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list