Hello,
i triad to open RGB image window with Red = B4, Green = B3 and Blue = B2
i get an error-message: Unexpected Exception:
A java.util.concurrent.ExecutionException exception has ocured.
Click Show Details or see the messages.log file located in your
C:\User\hakunamatata\AppData\Roaming|SNAP\var\logfolder.
details:
java.io.IOException: The path E:!!!\citra\sentinel 2a\sentinel 2021\percobaan 4 akhirnya dapet citra yg dari copernicus yaallaah cape ngulang mulu T_T\S2A_MSIL1C_20210730T024551_N0301_R132_T49MCN_20210730T063035.SAFE\GRANULE\L1C_T49MCN_A031875_20210730T030322\IMG_DATA\T49MCN_20210730T024551_B04.jp2 is too long and it is not possible to get the windows short path. Please, try to copy the product to the root folder.
at org.esa.snap.lib.openjpeg.dataio.Utils.GetIterativeShortPathNameW(Utils.java:119)
at org.esa.snap.jp2.reader.internal.JP2TileOpImage.decompressTile(JP2TileOpImage.java:187)
at org.esa.snap.jp2.reader.internal.JP2TileOpImage.computeRectIndirect(JP2TileOpImage.java:129)
at org.esa.snap.jp2.reader.internal.JP2TileOpImage.computeRect(JP2TileOpImage.java:98)
Caused: java.lang.IllegalStateException: Failed to read the data for level 4 and rectangle java.awt.Rectangle[x=0,y=0,width=64,height=64].
at org.esa.snap.jp2.reader.internal.JP2TileOpImage.computeRect(JP2TileOpImage.java:101)
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.opimage.TranslateIntOpImage.getTile(Unknown Source)
at javax.media.jai.PlanarImage.getData(Unknown Source)
at javax.media.jai.PlanarImage.getExtendedData(Unknown Source)
at com.sun.media.jai.opimage.MosaicOpImage.computeTile(Unknown Source)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(Unknown Source)
at javax.media.jai.OpImage.getTile(Unknown Source)
[catch] at javax.media.jai.PointOpImage.computeTile(Unknown Source)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(Unknown Source)
at javax.media.jai.OpImage.getTile(Unknown Source)
at javax.media.jai.RenderedOp.getTile(Unknown Source)
at org.esa.snap.core.datamodel.StxFactory.accumulateTile(StxFactory.java:351)
at org.esa.snap.core.datamodel.StxFactory.accumulate(StxFactory.java:335)
at org.esa.snap.core.datamodel.StxFactory.accumulate(StxFactory.java:297)
at org.esa.snap.core.datamodel.StxFactory.create(StxFactory.java:201)
at org.esa.snap.core.datamodel.StxFactory.create(StxFactory.java:275)
at org.esa.snap.core.datamodel.RasterDataNode.computeStxImpl(RasterDataNode.java:2453)
at org.esa.snap.core.datamodel.Band.computeStxImpl(Band.java:506)
at org.esa.snap.core.datamodel.RasterDataNode.getStx(RasterDataNode.java:2420)
at org.esa.snap.core.datamodel.RasterDataNode.createDefaultImageInfo(RasterDataNode.java:1827)
at org.esa.snap.core.datamodel.Band.createDefaultImageInfo(Band.java:485)
at org.esa.snap.core.datamodel.RasterDataNode.getImageInfo(RasterDataNode.java:1809)
at org.esa.snap.core.datamodel.RasterDataNode.getImageInfo(RasterDataNode.java:1792)
at org.esa.snap.core.image.ImageManager.prepareImageInfos(ImageManager.java:834)
at org.esa.snap.core.image.ColoredBandImageMultiLevelSource.create(ColoredBandImageMultiLevelSource.java:51)
at org.esa.snap.core.image.ColoredBandImageMultiLevelSource.create(ColoredBandImageMultiLevelSource.java:47)
at org.esa.snap.ui.product.ProductSceneImage.(ProductSceneImage.java:106)
at org.esa.snap.rcp.actions.window.OpenRGBImageViewAction.createProductSceneImageRGB(OpenRGBImageViewAction.java:209)
at org.esa.snap.rcp.actions.window.OpenRGBImageViewAction.access$000(OpenRGBImageViewAction.java:74)
at org.esa.snap.rcp.actions.window.OpenRGBImageViewAction$1.doInBackground(OpenRGBImageViewAction.java:160)
at org.esa.snap.rcp.actions.window.OpenRGBImageViewAction$1.doInBackground(OpenRGBImageViewAction.java:156)
at com.bc.ceres.swing.progress.ProgressMonitorSwingWorker.doInBackground(ProgressMonitorSwingWorker.java:56)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused: java.util.concurrent.ExecutionException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at javax.swing.SwingWorker.get(SwingWorker.java:602)
[catch] at org.esa.snap.rcp.actions.window.OpenRGBImageViewAction$1.done(OpenRGBImageViewAction.java:169)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
does anybody know how to solve this problem?
any insight on this issue would be much appreciated.
kind regards,
atina