Cédric Briançon ha scritto:
> Hey all,
> 
> I'm getting this error on the module epsg-hsql (maven 2.0.9, 
> jdk1.5.0_15, linux Ubuntu) and not when I go in the 
> modules/plugin/epsg-hsql directory and try building with tests :

Funny,
me and Jody are seeing the same error, consistently, using java 6, no
matter how you build, see here:
http://jira.codehaus.org/browse/GEOT-1917

(the detail report in the jira is from the first test, but as you can 
see the third one in the list is the same as yours, 
testFind(org.geotools.referencing.factory.epsg.DefaultFactoryTest)).

Cheers
Andrea

> -------------------------------------------------------------------------------
> Test set: org.geotools.referencing.factory.epsg.DefaultFactoryTest
> -------------------------------------------------------------------------------
> Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.764 
> sec <<< FAILURE!
> testFind(org.geotools.referencing.factory.epsg.DefaultFactoryTest)  Time 
> elapsed: 0.007 sec  <<< FAILURE!
> java.lang.AssertionError: Should not find without a full scan, because 
> the WKT contains no identifier and the CRS name is ambiguous (more than 
> one EPSG object have this name).
>     at org.junit.Assert.fail(Assert.java:74)
>     at org.junit.Assert.assertTrue(Assert.java:37)
>     at org.junit.Assert.assertNull(Assert.java:375)
>     at 
> org.geotools.referencing.factory.epsg.DefaultFactoryTest.testFind(DefaultFactoryTest.java:800)
>     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)
> 
> Regards,
> Cédric.
> 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
> 
> !DSPAM:4022,487715ad234508992556831!
> 


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to