From: Michael B. <mic...@gm...> - 2008-08-13 08:50:33
|
Ciao Simone, Sorry - I should have included the stacktrace before. Here it is... Exception in thread "Thread-2" java.lang.IllegalArgumentException: Raster sun.awt.image.SunWritableRaster@d48679 is incompatible with ColorModel ColorModel: #pixelBits = 32 numComponents = 1 color space = ScaledColorSpace[0.0, 1.0] transparency = 1 has alpha = false isAlphaPre = false at java.awt.image.BufferedImage.<init>(BufferedImage.java:616) at org.geotools.coverage.grid.GridCoverageFactory.create(GridCoverageFactory.java:332) at org.geotools.coverage.grid.GridCoverageFactory.create(GridCoverageFactory.java:281) at org.cafeanimal.geo.gridlayer.CAGridCoverageFactory.makeDoubleLayer(CAGridCoverageFactory.java:374) at org.cafeanimal.geo.gridlayer.CAGridCoverageFactory.createFromDoubleData(CAGridCoverageFactory.java:153) at org.cafeanimal.geo.gridlayer.CAGridCoverageFactory.createAnalyticalGridCoverage(CAGridCoverageFactory.java:119) at org.cafeanimal.geo.CAMapRegistry.loadMap(CAMapRegistry.java:168) at org.cafeanimal.geo.CAMapRegistry.getExternalMap(CAMapRegistry.java:80) at org.cafeanimal.geo.CAMapRegistry.getMap(CAMapRegistry.java:129) at org.cafeanimal.landscape.CALandscape.getMap(CALandscape.java:240) at org.cafeanimal.landscape.CAFocalCellFinder.getMap(CAFocalCellFinder.java:82) at org.cafeanimal.landscape.CALandscape.getFocalCellMap(CALandscape.java:206) at org.cafeanimal.geo.iterator.CAFocalCellIterator.hasNext(CAFocalCellIterator.java:66) at org.cafeanimal.simulation.action.CAInitSpeciesAction.doAction(CAInitSpeciesAction.java:83) at org.cafeanimal.simulation.CASimulation$Worker.run(CASimulation.java:99) 2008/8/13 Simone Giannecchini <sim...@gm...>: > Could you paste the full stacktrace here, I guess it would help > understanding what happened. > > Simone, > |