GeoTools
  1. GeoTools
  2. GEOT-1862

Build Failure of JDK1.6.0_06 with no JAI or ImageIO

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.5.9
    • Component/s: referencing, render
    • Labels:
      None
    • Environment:
      Various JDKs, Win32, Vista

      Description

      Testing the build with various plain JDKs:

      • JDK 1.5.0_15 (fresh)
      • JDK 1.5.0_15 with JAI and ImageIO
      • JDK 1.5.0_15 with native DLLS for JAI and ImageIO
      • JDK 1.6.0_06 (fresh)
      • JDK 1.6.0_06 with JAI and ImageIO - UNTESTED
      • JDK 1.6.0_06 with native DLLS for JAI and ImageIO

      My guess here is that whatever ships "inside" JDK 1.6.0_06 is incompatible with our needs; at a very scary level. By installing JAI and ImageIO over top we are back to a known state?!?

      Test failure shows up as the following:

      Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
      23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
      INFO: layer name: raster_layer
      Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!

      This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....

      -------------------------------------------------------------------------------
      Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
      -------------------------------------------------------------------------------
      Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
      test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
      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:338)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
      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)

      test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
      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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
      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:338)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
      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 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 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)

        Issue Links

          Activity

          Jody Garnett made changes -
          Field Original Value New Value
          Description Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15
          * (x) JDK 1.6.0_15

          Test failure shows up as the following:
          {warning}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {warning}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}

          {panel}
          Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15
          * (x) JDK 1.6.0_15

          Test failure shows up as the following:
          {warning}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {warning}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Jody Garnett made changes -
          Description Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15
          * (x) JDK 1.6.0_15

          Test failure shows up as the following:
          {warning}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {warning}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15
          * (x) JDK 1.6.0_15

          Test failure shows up as the following:
          {panel}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {panel}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Jody Garnett made changes -
          Description Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15
          * (x) JDK 1.6.0_15

          Test failure shows up as the following:
          {panel}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {panel}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15
          * (/) JDK 1.5.0_15 with JAI and ImageIO
          * (/) JDK 1.5.0_15 with native DLLS for JAI and ImageIO
          * (x) JDK 1.6.0_15

          Test failure shows up as the following:
          {panel}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {panel}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Jody Garnett made changes -
          Environment JDK1.6.0_u6
          There has been NO JAI or ImageIO extension applied to this JDK
          Various JDKs, Win32, Vista
          Description Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15
          * (/) JDK 1.5.0_15 with JAI and ImageIO
          * (/) JDK 1.5.0_15 with native DLLS for JAI and ImageIO
          * (x) JDK 1.6.0_15

          Test failure shows up as the following:
          {panel}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {panel}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15 (fresh)
          * (/) JDK 1.5.0_15 with JAI and ImageIO
          * (/) JDK 1.5.0_15 with native DLLS for JAI and ImageIO
          * (x) JDK 1.6.0_15 (fresh)
          * (?) JDK 1.6.0_15 with JAI and ImageIO - UNTESTED
          * (/) JDK 1.6.0_15 with native DLLS for JAI and ImageIO

          My guess here is that whatever ships "inside" JDK 1.6.0_15 is incompatible with our needs; at a very scary level. By installing JAI and ImageIO over top we are back to a known state?!?

          Test failure shows up as the following:
          {panel}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {panel}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Martin Desruisseaux made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Jody Garnett made changes -
          Description Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15 (fresh)
          * (/) JDK 1.5.0_15 with JAI and ImageIO
          * (/) JDK 1.5.0_15 with native DLLS for JAI and ImageIO
          * (x) JDK 1.6.0_15 (fresh)
          * (?) JDK 1.6.0_15 with JAI and ImageIO - UNTESTED
          * (/) JDK 1.6.0_15 with native DLLS for JAI and ImageIO

          My guess here is that whatever ships "inside" JDK 1.6.0_15 is incompatible with our needs; at a very scary level. By installing JAI and ImageIO over top we are back to a known state?!?

          Test failure shows up as the following:
          {panel}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {panel}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15 (fresh)
          * (/) JDK 1.5.0_15 with JAI and ImageIO
          * (/) JDK 1.5.0_15 with native DLLS for JAI and ImageIO
          * (x) JDK 1.6.0_06 (fresh)
          * (?) JDK 1.6.0_06 with JAI and ImageIO - UNTESTED
          * (/) JDK 1.6.0_06 with native DLLS for JAI and ImageIO

          My guess here is that whatever ships "inside" JDK 1.6.0_15 is incompatible with our needs; at a very scary level. By installing JAI and ImageIO over top we are back to a known state?!?

          Test failure shows up as the following:
          {panel}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {panel}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Jody Garnett made changes -
          Description Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15 (fresh)
          * (/) JDK 1.5.0_15 with JAI and ImageIO
          * (/) JDK 1.5.0_15 with native DLLS for JAI and ImageIO
          * (x) JDK 1.6.0_06 (fresh)
          * (?) JDK 1.6.0_06 with JAI and ImageIO - UNTESTED
          * (/) JDK 1.6.0_06 with native DLLS for JAI and ImageIO

          My guess here is that whatever ships "inside" JDK 1.6.0_15 is incompatible with our needs; at a very scary level. By installing JAI and ImageIO over top we are back to a known state?!?

          Test failure shows up as the following:
          {panel}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {panel}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Testing the build with various plain JDKs:
          * (/) JDK 1.5.0_15 (fresh)
          * (/) JDK 1.5.0_15 with JAI and ImageIO
          * (/) JDK 1.5.0_15 with native DLLS for JAI and ImageIO
          * (x) JDK 1.6.0_06 (fresh)
          * (?) JDK 1.6.0_06 with JAI and ImageIO - UNTESTED
          * (/) JDK 1.6.0_06 with native DLLS for JAI and ImageIO

          My guess here is that whatever ships "inside" JDK 1.6.0_06 is incompatible with our needs; at a very scary level. By installing JAI and ImageIO over top we are back to a known state?!?

          Test failure shows up as the following:
          {panel}
          Running org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:02 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          23-Jun-2008 11:08:03 PM org.geotools.styling.SLDParser parseUserLayer
          INFO: layer name: raster_layer
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.603 sec <<< FAILURE!
          {panel}

          This is the kind of test that runs over some files and performs the same kind of work on each; so we need to go check the test results....
          {panel}
          -------------------------------------------------------------------------------
          Test set: org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest
          -------------------------------------------------------------------------------
          Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.172 sec <<< FAILURE!
          test3BandsByte_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.221 sec <<< ERROR!
          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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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)

          test4BandsUInt16_SLD(org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest) Time elapsed: 0.25 sec <<< ERROR!
          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.test4BandsUInt16_SLD(RasterSymbolizerTest.java:570)
                  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:338)
                  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
          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 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 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)
          {panel}
          Martin Desruisseaux made changes -
          Link This issue is related to GEOT-1917 [ GEOT-1917 ]
          Martin Desruisseaux made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Jody Garnett made changes -
          Fix Version/s 2.5-M3 [ 14259 ]
          Fix Version/s 2.5-RC [ 14490 ]
          Gabriel Roldan made changes -
          Fix Version/s 2.5.0 [ 13698 ]
          Fix Version/s 2.5-RC0 [ 14490 ]
          Justin Deoliveira made changes -
          Fix Version/s 2.5.0 [ 13698 ]
          Fix Version/s 2.5.1 [ 14600 ]
          Justin Deoliveira made changes -
          Fix Version/s 2.5.1 [ 14600 ]
          Fix Version/s 2.5.2 [ 14662 ]
          Justin Deoliveira made changes -
          Fix Version/s 2.5.2 [ 14662 ]
          Fix Version/s 2.5.3 [ 14778 ]
          Justin Deoliveira made changes -
          Fix Version/s 2.5.3 [ 14778 ]
          Fix Version/s 2.5.4 [ 14940 ]
          Justin Deoliveira made changes -
          Fix Version/s 2.5.4 [ 14940 ]
          Fix Version/s 2.5.5 [ 15085 ]
          Andrea Aime made changes -
          Fix Version/s 2.5.6 [ 15269 ]
          Fix Version/s 2.5.5 [ 15085 ]
          Andrea Aime made changes -
          Fix Version/s 2.5.6 [ 15269 ]
          Fix Version/s 2.5.7 [ 15368 ]
          Jody Garnett made changes -
          Fix Version/s 2.5.8 [ 15543 ]
          Fix Version/s 2.5.7 [ 15368 ]
          Jody Garnett made changes -
          Fix Version/s 2.5.9 [ 15876 ]
          Fix Version/s 2.5.8 [ 15543 ]
          Simone Giannecchini made changes -
          Assignee Martin Desruisseaux [ desruisseaux ] Simone Giannecchini [ simboss ]

            People

            • Assignee:
              Simone Giannecchini
              Reporter:
              Jody Garnett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: