« 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

Balázs Bámer ha scritto:

> Hi All,
>
> I have exactly the same problem as Zerogeek here:
> http://www.nabble.com/null-pointer-exception-in-oracle-WFS-insert-td15340163.html
>
> I use Geoserver 1.7.2. I have 3 tables in the database, one point
> type, one multipolygon type, which work fine in MapBender 2.5, even
> WFS-T editing etc. However, the third one, which has 2 multipolygon
> columns, of which I selected one in Mapbender, fails to insert new
> features with the above symptoms.
>
> In the above conversation I just don't understand where the capitals
> can come into question, and wherever I looked, everything is
> uppercase.

The user above was trying to insert data using lowercase names in the
WFS-T request, that triggered the NPE.

> Spatial column is KGEOM, which has spatial index:
> CREATE INDEX "BALAZS"."IDX_BLOKK_A0_KGEOM" ON "BALAZS"."BLOKK_A0" ("KGEOM")
>    INDEXTYPE IS "MDSYS"."SPATIAL_INDEX" PARAMETERS ('layer_gtype=MULTIPOLYGON');
>
> My failing request with some other (not all) log output is
>
> 2009-02-19 11:42:08,608 ERROR [geoserver.ows] -
> org.geoserver.platform.ServiceException: Could not determine geoserver request f
> rom http request GET /geoserver/wfs? HTTP/1.1
> User-Agent: Java/1.6.0_10
> Host: att-it.homelinux.net:22880
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
>         at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:389)
>         at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:20
> 8)
> ....

Ouch, you cut exactly the only part that I could effectively use to get
an idea of the problem.

In order to help you out I need two things:
- a full stack trace
- a sql script to recreate your data (not all, just enough to reproduce
the issue)
- the exact request you made

You can send me that information by private mail.

Cheers
Andrea

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

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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