Andrea Aime ha scritto:
> On another Ubuntu machine I have the 64bit
> version without native JAI installed , which
> is still failing on the render module in the
> coverage SLD tests, in particular
> RasterSymbolizerTest.test3BandsByte_SLD
> RasterSymbolizerTest.test4BandsUInt16_SLD
> Simone, any idea? I _guess_ it might be related
> to the lack of native JAI, but it may also be
> the 64bit nature of the machine.
I've made a JDK 6 without native JAI installed on
the 32bit machine and I still have the failures,
so it's not 64bit specific.
The stack trace is not very helpful thought
(at least, to me):
javax.media.jai.util.ImagingException: Exception occurs when computing
tiles.
at
com.sun.media.jai.util.SunTileScheduler.scheduleJob(SunTileScheduler.java:1178)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTiles(SunTileScheduler.java:1227)
at javax.media.jai.OpImage.getTiles(OpImage.java:1450)
at javax.media.jai.RenderedOp.getTiles(RenderedOp.java:2316)
at javax.media.jai.PlanarImage.getTiles(PlanarImage.java:2617)
at
org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest.testRasterSymbolizerHelper(RasterSymbolizerTest.java:1170)
at
org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest.test3BandsByte_SLD(RasterSymbolizerTest.java:706)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
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:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 255
at javax.media.jai.LookupTableJAI.lookup(LookupTableJAI.java:1244)
at javax.media.jai.LookupTableJAI.lookup(LookupTableJAI.java:1016)
at
com.sun.media.jai.opimage.LookupOpImage.computeRect(LookupOpImage.java:173)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:914)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:911)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:911)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:911)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at
com.sun.media.jai.util.SunTileScheduler.compute(SunTileScheduler.java:717)
at com.sun.media.jai.util.TileJob.compute(SunTileScheduler.java:373)
at com.sun.media.jai.util.WorkerThread.run(SunTileScheduler.java:468)
Caused by:
java.lang.ArrayIndexOutOfBoundsException: 255
at javax.media.jai.LookupTableJAI.lookup(LookupTableJAI.java:1244)
at javax.media.jai.LookupTableJAI.lookup(LookupTableJAI.java:1016)
at
com.sun.media.jai.opimage.LookupOpImage.computeRect(LookupOpImage.java:173)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:914)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:911)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:911)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:911)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at
com.sun.media.jai.util.SunTileScheduler.compute(SunTileScheduler.java:717)
at com.sun.media.jai.util.TileJob.compute(SunTileScheduler.java:373)
at com.sun.media.jai.util.WorkerThread.run(SunTileScheduler.java:468)
Hmm... Simone, does this ring any bell to you?
I also tested with a clean Java 5 without any JAI or JAI ImageIO
installed, and it worked. A wild guess, due to different iteration
order a different plugin of sorts (operation implementation, reader)
is chosen in JDK 6 when no native JAI installation is available?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel