Gabriel I notice a lot of hacking on the WFS module at the moment .. 
what are you up to? The module is currently breaking my build on a 
failed test ... looks like a test is incorrectly expecting a local 
geoserver?

Please advise?

Test set: org.geotools.data.wfs.v1_1_0.WFS_1_1_0_ProtocolTest
-------------------------------------------------------------------------------
Tests run: 23, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.855 
sec <<< FAILURE!
testGetFeature_GET_OptionalParameters(org.geotools.data.wfs.v1_1_0.WFS_1_1_0_ProtocolTest)
  
Time elapsed: 1.122 sec  <<<
 ERROR!
java.io.IOException: Error parsing feature type for 
{http://www.openplans.org/spearfish}archsites from http://localhost:
8080/geoserver/wfs?VERSION=1.1.0&TYPENAME=sf%3Aarchsites&NAMESPACE=xmlns%28sf%3Dhttp%3A%2F%2Fwww.openplans.org%2Fspearfi
sh%29&REQUEST=DescribeFeatureType&SERVICE=WFS&=&
        at 
org.geotools.data.wfs.v1_1_0.parsers.EmfAppSchemaParser.parse(EmfAppSchemaParser.java:257)
        at 
org.geotools.data.wfs.v1_1_0.parsers.EmfAppSchemaParser.parseSimpleFeatureType(EmfAppSchemaParser.java:119)
        at 
org.geotools.data.wfs.v1_1_0.parsers.EmfAppSchemaParser.parseSimpleFeatureType(EmfAppSchemaParser.java:88)
        at 
org.geotools.data.wfs.v1_1_0.WFS_1_1_0_DataStore.getSchema(WFS_1_1_0_DataStore.java:214)
        at 
org.geotools.data.wfs.v1_1_0.DefaultWFSStrategy.adaptQueryForSupportedCrs(DefaultWFSStrategy.java:366)
        at 
org.geotools.data.wfs.v1_1_0.DefaultWFSStrategy.createGetFeatureRequest(DefaultWFSStrategy.java:147)
        at 
org.geotools.data.wfs.v1_1_0.WFS_1_1_0_ProtocolTest.testGetFeature_GET_OptionalParameters(WFS_1_1_0_ProtocolT
est.java:768)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at 
org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
        at 
org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
        at 
org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
        at 
org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at 
org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
        at 
org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
        at 
org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
        at 
org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
        at 
org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
        at 
org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140
)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: java.lang.NullPointerException
        at 
org.geotools.gml2.bindings.GML2ParsingUtils.featureType(GML2ParsingUtils.java:178)
        at 
org.geotools.gml3.bindings.GML3ParsingUtils.featureType(GML3ParsingUtils.java:74)
        at 
org.geotools.data.wfs.v1_1_0.parsers.EmfAppSchemaParser.parse(EmfAppSchemaParser.java:225)
        ... 32 more

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to