Issue Type: Bug Bug
Affects Versions: 8.0
Assignee: Unassigned
Components: imagemosaic-jdbc plugin
Created: 13/Sep/12 11:37 AM
Description:

Unable to process GetCoverage requests due to NullPointerexception

The problem is occuring because the requestedEnvelope property of the ImageMosaicJDBCReaderState instance is null. This happens because the READ_GRIDGEOMETRY2D is not set into the GeneralParameterValue array passed as argument of the ImageMosaicJDBCReader.read method. This is happening because this property is explicitly ignored into org.geoserver.data.util.CoverageUtils when the GeneralParameterValue array is created.

To reproduce the problem, you should publish a Layer from a ImageMosaic-JDBC store connect to a PGRaster database in GeoServer and then send a WCS getCoverage request on that new Layer. I'm using the PGRaster connection type but I'm assuming this problem should affect any connection type.

Equivalent WMS getMap request is working fine.

I can provide my current ImageMosaic-JDBC config files and sample data if required.

Environment: Linux, java 1.7, tomcat 7, geoserver 2.2RC2
Project: GeoTools
Priority: Major Major
Reporter: Jean-François Bourgon
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to