[Gvsig_english] oracle plugin crashes with point layers on oracle 10.2

G. Allegri giohappy at gmail.com
Wed Jan 13 16:28:45 CET 2010


I have a point layer (gtype 1003) in oracle, version 10.2
I'm using the ojdbc14.jar from oracle client.

Linear and polygon layers load correctly, while points give
NullPointerException for every point.
Here is the  expection (just on of the other similar thousands!) from log:

java.lang.NullPointerException
	at es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialUtils.getFMapGeometrySdoPoint(OracleSpatialUtils.java:2633)
	at es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialUtils.getFMapGeometryPoint(OracleSpatialUtils.java:2583)
	at es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialDriver.getFMapGeometry(OracleSpatialDriver.java:587)
	at es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialDriver.getGeometryUsing(OracleSpatialDriver.java:538)
	at es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OracleSpatialFeatureIterator.next(OracleSpatialFeatureIterator.java:141)
	at com.iver.cit.gvsig.fmap.drivers.featureiterators.ReprojectWrapperFeatureIterator.next(ReprojectWrapperFeatureIterator.java:92)
	at com.iver.cit.gvsig.fmap.layers.FLyrVect._draw(FLyrVect.java:437)
	at com.iver.cit.gvsig.fmap.layers.FLyrVect.draw(FLyrVect.java:631)
	at com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:209)
	at com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:175)
	at com.iver.cit.gvsig.fmap.MapContext.draw(MapContext.java:1092)
	at com.iver.cit.gvsig.fmap.MapControl$PaintingRequest.paint(MapControl.java:1043)
	at com.iver.cit.gvsig.fmap.MapControl$Drawer2$Worker.run(MapControl.java:1234)
	at java.lang.Thread.run(Unknown Source)

giovanni


More information about the Gvsig_internacional mailing list