Re: [JPP-Devel] OpenJUMPSextanteRasterLayer getHistogram BUG

2011-09-02 Thread Mohammed Rashad
Here is my code int j=0; //h and hd are a ID array h = rasterlayer.getHistogram(); j++; double[] hd = new double[j]; for(int i=0;i > Hi, > > Could it be a problem of JAI dependency ? > > Hypothesis : JAI is not "installed" in your JRE (which is not required), so > tha

Re: [JPP-Devel] OpenJUMPSextanteRasterLayer getHistogram BUG

2011-09-02 Thread Michaƫl Michaud
Hi, Could it be a problem of JAI dependency ? Hypothesis : JAI is not "installed" in your JRE (which is not required), so that the soft try to accelerate a method in a pure java mode (which may need jai_core or jai_codec in the classpath). Really just a guess as I cannot explain the relation w

[JPP-Devel] OpenJUMPSextanteRasterLayer getHistogram BUG

2011-09-02 Thread Mohammed Rashad
error log is Could not find mediaLib accelerator wrapper classes. Continuing in pure Java mode. java.lang.ArrayStoreException: java.lang.Integer at java.util.Arrays.fill(Arrays.java:2697) at org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.calculateHistogram(AbstractSextanteRast