On 06/10/14 15:24, Ben Caradoc-Davies wrote:
> On 06/10/14 15:15, Andrea Aime wrote:
>> Hum... same process for sure, but how does that connect with the
>> inability to parse the request?
>> I would have expected a change in gt-xsd-* to cause the issue
>
> Indeed. It is pretty freaky. And yet reverting
> 20224518e20744992ee665ca702fc4d7da1388f9 fixes the build.

Ah, got it. The new code tests for null featuresCRS but does not test 
for null clip.getCoordinateReferenceSystem(), and when it is null we get 
the failure (the hashmap is a parsed exception response):

06 Oct 15:43:21 ERROR [geoserver.wps] - Process execution failed
org.geotools.process.ProcessException: java.lang.NullPointerException: 
Unable to transform referenced envelope, crs has not yet been provided.
        at 
org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:565)
        at 
org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:228)
        at 
org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:1)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException: Unable to transform 
referenced envelope, crs has not yet been provided.
        at 
org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:658)
        at 
org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:624)
        at 
org.geotools.process.vector.RectangularClipProcess.execute(RectangularClipProcess.java:54)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:549)
        ... 6 more


-- 
Ben Caradoc-Davies <[email protected]>
Software Engineer
CSIRO Mineral Resources Flagship
Australian Resources Research Centre

------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to