S-1 ESD operator java lang Exception Executor already shutdown!

Hello everyone,

I have a problem with S-1 ESD operator. This operator seems not working after update to SNAP 7.0.4. The error message is at below.

java.lang.Exception: Executor already shutdown!!
at org.esa.snap.core.util.ThreadExecutor.execute(ThreadExecutor.java:38)
at org.esa.s1tbx.sentinel1.gpf.SpectralDiversityOp.estimateRangeOffset(SpectralDiversityOp.java:535)
Caused: org.esa.snap.core.gpf.OperatorException: Executor already shutdown!!
at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:440)
at org.esa.s1tbx.sentinel1.gpf.SpectralDiversityOp.estimateRangeOffset(SpectralDiversityOp.java:587)
at org.esa.s1tbx.sentinel1.gpf.SpectralDiversityOp.computeTileStack(SpectralDiversityOp.java:456)
Caused: org.esa.snap.core.gpf.OperatorException: Executor already shutdown!!
at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:440)
at org.esa.s1tbx.sentinel1.gpf.SpectralDiversityOp.computeTileStack(SpectralDiversityOp.java:485)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:116)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeTile(OperatorImageTileStack.java:85)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
Caused: org.esa.snap.core.gpf.OperatorException: Executor already shutdown!!
at org.esa.snap.core.gpf.internal.OperatorExecutor$GPFImagingListener.errorOccurred(OperatorExecutor.java:376)
at com.sun.media.jai.util.SunTileScheduler.sendExceptionToListener(SunTileScheduler.java:1646)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:921)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2085)
at com.bc.ceres.glevel.MultiLevelImage.getData(MultiLevelImage.java:64)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:428)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:414)
at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:73)
at javax.media.jai.SourcelessOpImage.computeTile(SourcelessOpImage.java:137)
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.RequestJob.compute(SunTileScheduler.java:247)
[catch] at com.sun.media.jai.util.WorkerThread.run(SunTileScheduler.java:468)


+1 Same here, I have tried with different parameters but it ends up failing with the same Traceback. This issue only happened after update to SNAP 7.0.4

1 Like

same here. Yesterday I updated to 7.0.4 and all f a sudden the ESD does not work anymore and gives message as following:
java.lang.ArrayIndexOutOfBoundsException: 0
at org.esa.s1tbx.sentinel1.gpf.SpectralDiversityOp.outputESDEstimationToFile(SpectralDiversityOp.java:1328)
at org.esa.s1tbx.sentinel1.gpf.SpectralDiversityOp.estimateAzimuthOffset(SpectralDiversityOp.java:778)
Caused: org.esa.snap.core.gpf.OperatorException: 0"

I don’t know if this is a case by case problem. It seems not be noticed by users?
In my case, 3 PCs, both Windows and Linux have same problem.

not sure about your case.
I tried ESD again and found the error happened when only one burst coregistrated image were processed. It works fine with images more than one burst.

so now my work around is to include two bursts before ESD stage and subset later.

To make this clear also in here:

ESD should and can only be applied to TOPS products with more than one burst.

Thanks for the information! Did not realize this before your post.
It would be helpful if snap can give some tips in error messages or check burst numbers before ESD process since most of the time we are trying to limit our study area as small as possible.

1 Like

I know about what you said, and I’m sure that I have multi brusts.
In new version with s1tbx ver. 7.0.4, this problem seems be fixed. Thanks for your help.

I have multiple bursts in my image but it still gives the Error: Executor already shutdown. So a lack of multi burst isn’t the only issue. This started since i updated to 7.0.4. I have had to reinstall SNAP to 7.0.0 to use the tool. Very inconvenient

we will look into this.