WPS RangeLookupTest Java 7 Failure

Description

Reported on geoserver-devel in response to Java 7 preflight testing:

Tests in error:
testRangeLookup(org.geoserver.wps.gs.RangeLookupTest): org.geotools.data.DataSourceException: Unable to parse the header for the provided input

Further update from Andrea:

In my case it's failing in both maven and the IDE, so it's not likely to be Eclipse, but I use Eclipse Kepler SR1
The rest is Ubuntu 12.04, 64 bit, and the above mentioned JDK versions.
I work in my home folder, so I have full permissions

My hunch is that it's file system iteration order, we are probably getting the imageio/coverage readers
iterate in a different way (believe there is nothing we can do to make that order predictable)

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:54 PM

CodeHaus Comment From: jgarnett - Time: Fri, 11 Apr 2014 23:09:25 -0500
---------------------
<p>Unable to reproduce this is on OSX 10.9 with Oracle JDK 1.7.0_51 (both maven and eclipse work).</p>

<p>I expect we can get a better error message as the "unable to parse" may be due to an service exception document being generated?</p>

codehaus
April 10, 2015, 3:54 PM

CodeHaus Comment From: aaime - Time: Sat, 12 Apr 2014 04:17:38 -0500
---------------------
<p>Had another look. The process is getting black listed because of its input/output parameters. Have to figure out why..</p>

codehaus
April 10, 2015, 3:54 PM

CodeHaus Comment From: aaime - Time: Sat, 12 Apr 2014 04:41:17 -0500
---------------------
<p>Ah right, now I remember. The annotations on the RangeLookupProcess are not being read when I run under java 7, so when we try to process them we only get "arg2</p>
{optional}
{0:2147483647}
<p>" as the parameter information, instead of its name and actual type, which can be read only by the annotations since we're talking about a collection.</p>

<p>And... figured it out, it happens because that class has two execute methods, even if just one is annotated. Going to change the process factory so that it takes into consideration only annotated methods</p>

Andrea Aime
February 15, 2017, 11:47 AM

Mass closing all resolved issues not modified in the last 4 weeks

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure