I do not think it is getting into the OracleDialect class as I could not find anything getting logged in the log files
I have pasted the log output here
2009-09-23 18:53:54,393 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2009-09-23 18:53:54,893 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2009-09-23 18:53:54,908 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2009-09-23 18:53:54,940 DEBUG [org.geotools.jdbc] - Grabbing table pk metadata: SELECT DIST_CODE FROM RUIS.LYR_DISTRICTBOUNDARY WHERE 0=1
2009-09-23 18:53:54,955 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2009-09-23 18:53:54,971 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2009-09-23 18:53:54,971 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2009-09-23 18:53:55,018 INFO [org.geotools.factory] - Factory implementations for category GridCoverageFactory:
org.geotools.coverage.grid.GridCoverageFactory
2009-09-23 18:53:56,127 DEBUG [org.geotools.styling] - number of fts set 1
2009-09-23 18:53:56,190 DEBUG [org.geotools.styling] - number of fts set 1
2009-09-23 18:53:56,362 DEBUG [org.geotools.renderer.shape] - Affine Transform is AffineTransform[[2.92986899731E-4, 0.0, 142.25235172550015], [0.0, -2.92986899731E-4, 1094.5457246812546]]
2009-09-23 18:53:56,362 DEBUG [org.geotools.rendering] - Computed scale denominator: 1.3569535373106829E12
2009-09-23 18:53:56,362 DEBUG [org.geotools.styling] - number of fts set 1
2009-09-23 18:53:56,362 DEBUG [org.geotools.rendering] - Geometry Attrnull
2009-09-23 18:53:56,377 ERROR [org.geotools.rendering] -
java.lang.NullPointerException
at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1694)
at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:676)
at org.geotools.renderer.shape.ShapefileRenderer.renderWithStreamingRenderer(ShapefileRenderer.java:1510)
at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1358)
at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:270)
at org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:382)
at org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:421)
On Wed, Sep 23, 2009 at 12:11 PM, Andrea Aime <aaime@anonymised.com> wrote:
Debasish Sahu ha scritto:
Hi Andrea,
I am getting a null pointer exception in line 1689 in StreamingRenderer.java as the GeometryDescriptor returned is null.
Am I missing something in the Oracle Spatial configuration that is causing the error.
It would seem so yeah. Maybe the details of the table and user information can help use debug it.
Or if you have GS in a developer environment and can run it in
a debugger try to have a look in OracleDialect.getMapping
and see what happens with your geometry column.
Just to be sure: you do have a geometry column, it is accessible
by the current user, and properly indexed?
Cheers
Andrea
–
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
–
Thanks and Warm Regards
Debasish Sahu