Hello everyone!
I’m currently trying to produce GLCM textures for some processed Sentinel-1 GRD images.
When I try to use the graph builder (to produce the textures and stack them with the original image), The process is executed, but when I try to open one of the bands I’m getting the following error:
Failed to open image view.
java.lang.RuntimeException: java.io.IOException: DimapProductReader: Unable to read file
When I try to run the GLCM process outside of Graph Builder, I get the following error:
A java.lang.NoClassDefFoundError exception has occurred.
java.lang.NoClassDefFoundError: javax/media/jai/Histogram
at org.esa.snap.raster.gpf.texture.GLCMOp$ProbabilityQuantizer.(GLCMOp.java:934)
at org.esa.snap.raster.gpf.texture.GLCMOp.createQuantizer(GLCMOp.java:403)
at org.esa.snap.raster.gpf.texture.GLCMOp.computeTileStack(GLCMOp.java:424)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:122)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeTile(OperatorImageTileStack.java:86)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(Unknown Source)
at javax.media.jai.OpImage.getTile(Unknown Source)
at javax.media.jai.PlanarImage.getData(Unknown Source)
at com.bc.ceres.glevel.MultiLevelImage.getData(MultiLevelImage.java:64)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:449)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:435)
at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:75)
at javax.media.jai.SourcelessOpImage.computeTile(Unknown Source)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(Unknown Source)
at javax.media.jai.OpImage.getTile(Unknown Source)
at com.sun.media.jai.util.RequestJob.compute(Unknown Source)
[catch] at com.sun.media.jai.util.WorkerThread.run(Unknown Source)
I’m using SNAP 8.0/8.0.3 and I’ve tried to re-install it. Sometimes the process works just fine, but I can only process one image. When I try to process another image, I get errors.
I also think I’ve had some other errors in the past few days, but sadly I didn’t report them nor did I write down the names of them. If I recall correctly, one of them had something to do with the histogram (I don’t know if that helps).
Has anyone had some similar issues recently and/or knows how to solve these problems?
Thanks!