« Return to Thread: null pointer exception in oracle WFS insert again

Re: null pointer exception in oracle WFS insert again

by Andrea Aime-4 :: Rate this Message:

Reply to Author | View in Thread

Howie.Stuntman ha scritto:

> Caused by: java.lang.NullPointerException
> at
> org.geotools.data.oracle.OracleFeatureWriter.doInsert(OracleFeatureWriter.java:182)
> at

Hmm... this is the old Oracle datastore, and the issue is happening
because the geometry being inserted is null (along with a bug in the
datastore that does not foresee this case).

The old Oracle data store is no more being maintained, so we cannot
offer help about it.
Can you try out the OracleNG one? If you encounter problems
with it we'll be able to offer some assistance

As for the geometry being null, it might be that the parser skipped it
because it was not conforming to the schema of the WFS version you're
trying to use (or, other simpler possibility, the geometry is really
null)
If you have specified a geometry make sure you're using the proper GML
encoding for the WFS version you're using, they are quite different.
WFS 1.1 uses GML 3, WFS 1.0 uses GML 2

Cheers
Andrea


--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 « Return to Thread: null pointer exception in oracle WFS insert again