[Geoserver-devel] [jira] (GEOS-5258) PointBuffers process fails to generate application/zip output

Andrea Aime created BugGEOS-5258
PointBuffers process fails to generate application/zip output

Issue Type:

BugBug

Assignee:

Andrea Aime

Components:

WPS

Created:

08/Aug/12 5:08 AM

Description:

Caused by: java.lang.UnsupportedOperationException: CollectionFeatureSource is an inmemory wrapper
	at org.geotools.data.collection.CollectionFeatureSource.getInfo(CollectionFeatureSource.java:117)
	at org.geoserver.catalog.CatalogBuilder.setupMetadata(CatalogBuilder.java:469)
	at org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:379)
	at org.geoserver.wfs.response.ShapeZipOutputFormat.getFeatureTypeInfo(ShapeZipOutputFormat.java:420)
	at org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:354)
	at org.geoserver.wfs.response.ShapeZipOutputFormat.write(ShapeZipOutputFormat.java:238)
	at org.geoserver.wps.ppio.ShapeZipPPIO.encode(ShapeZipPPIO.java:48)
	at org.geoserver.wps.BinaryEncoderDelegate.encode(BinaryEncoderDelegate.java:40)
	at org.geoserver.wps.response.ExecuteProcessResponse.writeComplex(ExecuteProcessResponse.java:212)
	... 72 more

This is the result of trying to have CatalogBuilder use ResourceInfo to fill in more metadata, we should wrap that in a try/catch blockā€¦

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Andrea Aime

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)