Okay this seems to be a straight up regression due to FeatureJSON changing in GeoTools.
junit.framework.ComparisonFailure: expected:<application/[json]> but was:<application/[xml]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at org.geoserver.wps.ExecuteTest.testInlineGeoJSON(ExecuteTest.java:489)
The xml being of course an service exception:
org.geoserver.wps.WPSException: An error occurred while encoding the results of the process
at org.geoserver.wps.response.ExecuteProcessResponse.writeComplex(ExecuteProcessResponse.java:210)
..
Caused by: java.lang.NullPointerException
at org.geotools.referencing.CRS.lookupIdentifier(CRS.java:1029)
at org.geotools.geojson.feature.FeatureJSON.createCRS(FeatureJSON.java:445)
at org.geotools.geojson.feature.FeatureJSON.writeFeatureCollection(FeatureJSON.java:303)
at org.geotools.geojson.feature.FeatureJSON.writeFeatureCollection(FeatureJSON.java:337)
at org.geoserver.wps.ppio.GeoJSONPPIO.encode(GeoJSONPPIO.java:32)
|