Hi,

I am trying to build the Geotools 2.3.0 that I checked out today - [April 3
2007]. When I try building it by executing mvn install, it fails at the
org.geotools.gce.image.WorldImageWriterTest. 

I am using Java SDK 1.4.2_13 version on a Windows XP machine. I have copied
the reqd .dll files and the .jar files in the respective locations.

The build process fails when it executes a test known as
org.geotools.gce.image.WorldImageWriterTest. 

Attached is only the error part of the output in the console.

Please help me out.

Thanks for your time in advance,
Robert Samuel.

Running org.geotools.gce.image.WorldImageWriterTest
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageWriterTest testWrite
INFO: Format is tiff
 file is etopo.tif
 file is Pk50095.tif
 file is usa.tif

Error: One factory fails for the operation "ImageWrite"
Occurs in: javax.media.jai.ThreadSafeOperationRegistry
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
        at
javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.jav
a:1674)
        at
javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeO
perationRegistry.java:473)
        at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
        at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
        at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
        at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:888)
        at javax.media.jai.JAI.createNS(JAI.java:1099)
        at javax.media.jai.JAI.create(JAI.java:973)
        at javax.media.jai.JAI.create(JAI.java:1395)
        at
org.geotools.gce.image.WorldImageWriter.encode(WorldImageWriter.java:
437)
        at
org.geotools.gce.image.WorldImageWriter.write(WorldImageWriter.java:2
12)
        at
org.geotools.gce.image.WorldImageWriterTest.write(WorldImageWriterTes
t.java:168)
        at
org.geotools.gce.image.WorldImageWriterTest.testWrite(WorldImageWrite
rTest.java:107)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
a:210)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:135)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:122)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:225)
        at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:747)
Caused by: java.lang.IllegalArgumentException: Bad value 254!
        at
com.sun.media.imageioimpl.plugins.gif.GIFImageWriter.getNumBits(GIFIm
ageWriter.java:144)
        at
com.sun.media.imageioimpl.plugins.gif.GIFImageWriter.write(GIFImageWr
iter.java:605)
        at
com.sun.media.imageioimpl.plugins.gif.GIFImageWriter.write(GIFImageWr
iter.java:460)
        at
com.sun.media.jai.imageioimpl.ImageWriteCRIF.create(ImageWriteCRIF.ja
va:555)
        at
com.sun.media.jai.imageioimpl.ImageWriteCRIF.create(ImageWriteCRIF.ja
va:205)
        ... 43 more
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.375 sec
<<< FA
ILURE!
Running org.geotools.gce.image.WorldImageFormatTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.geotools.gce.image.ServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.geotools.gce.image.WorldImageReaderTest
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageReaderTest testRead
INFO: etopo.tif
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageReaderTest testRead
INFO: Pk50095.tif
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageReaderTest testRead
INFO: temp48454.tiff
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageReaderTest testRead
INFO: temp48455.tiff
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageReaderTest testRead
INFO: temp48456.tiff
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageReaderTest testRead
INFO: temp48457.tiff
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageReaderTest testRead
INFO: temp48458.tiff
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageReaderTest testRead
INFO: temp48459.tiff
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageReaderTest testRead
INFO: temp48460.gif
Apr 3, 2007 1:57:07 PM org.geotools.gce.image.WorldImageReader <init>
SEVERE: No reader avalaible for this source
org.geotools.data.DataSourceException: No reader avalaible for this source
        at
org.geotools.gce.image.WorldImageReader.getHRInfo(WorldImageReader.ja
va:258)
        at
org.geotools.gce.image.WorldImageReader.<init>(WorldImageReader.java:
228)
        at
org.geotools.gce.image.WorldImageReader.<init>(WorldImageReader.java:
109)
        at
org.geotools.gce.image.WorldImageReaderTest.read(WorldImageReaderTest
.java:110)
        at
org.geotools.gce.image.WorldImageReaderTest.testRead(WorldImageReader
Test.java:76)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.234 sec
<<< FA
ILURE!
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)

        at junit.framework.TestSuite.runTest(TestSuite.java:208)
Results :
        at junit.framework.TestSuite.run(TestSuite.java:203)
Tests run: 4, Failures: 0, Errors: 2, Skipped: 0
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
a:210)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:135)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:122)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:225)
        at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:747)


-- 
View this message in context: 
http://www.nabble.com/WorldImageWriterTest---SEVERE%3A-No-reader-avalaible-for-this-source-tf3510487.html#a9805768
Sent from the geotools-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to