Dear develepers, I recently studied source code of geotools and found a mistake: class org.geotools.data.shapefile.ShapefileFeatureSource, line 237: } else if (getDataStore().isIndexed() && !bbox.isNull(). If bbox is null, it will throw an NullPointerException. So I think it should be } else if (getDataStore().isIndexed() && bbox != null && !bbox.isNull().
sincerely cai yuanlong -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mistake-found-in-GeoTools-tp5092553.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users