SAOCOM - Dem assisted XCORR

I am trying to coregister two SAOCOM images in SNAP V9.0.8. When doing DEM assisted and XCORR separately, it runs just fine, but when using the DEM assisted XCORR method I am running into an error (whether through the GUI or through the GPT CLI).

My graph is as follows:

DEMAssistedCoregistrationXCorrGraph.xml (4.1 KB)

And the log shows:

INFO [hsqldb.db.HSQLDB4AD417742A.ENGINE]: dataFileCache open start
INFO [org.netbeans.ui.metrics.javahelp]: Showing help ID: graph_builder
SEVERE [org.esa.snap]: JAI error occurred: 'Problem occurs when computing a tile by the owner.' at com.sun.media.jai.util.SunTileScheduler@7eed44df
java.lang.IllegalStateException: no product reader for band 'null'
at org.esa.snap.core.image.BandOpImage.computeProductData(BandOpImage.java:65)
at org.esa.snap.core.image.RasterDataNodeOpImage.computeRect(RasterDataNodeOpImage.java:127)
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 javax.media.jai.PlanarImage.cobbleFloat(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.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:116)
[catch] 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 com.sun.media.jai.util.RequestJob.compute(Unknown Source)
at com.sun.media.jai.util.WorkerThread.run(Unknown Source)
SEVERE [null]: Last record repeated more than 10 times, further logs of this record are ignored until the log record changes.
SEVERE [null]: Last record repeated 16 times in total.
SEVERE [org.esa.snap]: JAI error occurred: 'Problem occurs when computing a tile by the owner.' at com.sun.media.jai.util.SunTileScheduler@7eed44df
java.lang.IllegalArgumentException: raster.getProduct() != null
at com.bc.ceres.core.Assert.argument(Assert.java:67)
at org.esa.snap.core.datamodel.VirtualBand.createSourceImage(VirtualBand.java:263)
at org.esa.snap.core.datamodel.VirtualBand.createSourceImage(VirtualBand.java:247)
at org.esa.snap.core.datamodel.RasterDataNode.getSourceImage(RasterDataNode.java:2174)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:440)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:435)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:116)
[catch] 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 com.sun.media.jai.util.RequestJob.compute(Unknown Source)
at com.sun.media.jai.util.WorkerThread.run(Unknown Source)
SEVERE [null]: Last record repeated 5 more times.

Has anyone else ran into this problem and has managed to figure it out?

JIRA ticket SNAP-3650 created to track this issue

Could you remove the BandSelection operator from the graph and run it again to see if you still have the problem?

Hi Jun, thanks for looking into this!

Running without the BandSeletion operator unfortunately gives me the exact same error.

SEVERE [org.esa.snap]: JAI error occurred: 'Problem occurs when computing a tile by the owner.' at com.sun.media.jai.util.SunTileScheduler@5d3d4550
java.lang.NullPointerException
	at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:440)
	at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:435)
	at org.esa.snap.core.gpf.Operator.getSourceTile(Operator.java:459)
	at org.esa.s1tbx.insar.gpf.coregistration.WarpOp.getWarpData(WarpOp.java:528)
	at org.esa.s1tbx.insar.gpf.coregistration.WarpOp.computeTile(WarpOp.java:447)
Caused: org.esa.snap.core.gpf.OperatorException
	at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:434)
	at org.esa.s1tbx.insar.gpf.coregistration.WarpOp.computeTile(WarpOp.java:493)
	at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:82)
	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 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.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:116)
[catch] 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 com.sun.media.jai.util.RequestJob.compute(Unknown Source)
	at com.sun.media.jai.util.WorkerThread.run(Unknown Source)
SEVERE [org.esa.snap]: JAI error occurred: 'Problem occurs when computing a tile by the owner.' at com.sun.media.jai.util.SunTileScheduler@5d3d4550
java.lang.IllegalArgumentException: raster.getProduct() != null
	at com.bc.ceres.core.Assert.argument(Assert.java:67)
	at org.esa.snap.core.datamodel.VirtualBand.createSourceImage(VirtualBand.java:263)
	at org.esa.snap.core.datamodel.VirtualBand.createSourceImage(VirtualBand.java:247)
	at org.esa.snap.core.datamodel.RasterDataNode.getSourceImage(RasterDataNode.java:2174)
	at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:440)
	at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:435)
	at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:116)
[catch] 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 com.sun.media.jai.util.RequestJob.compute(Unknown Source)
	at com.sun.media.jai.util.WorkerThread.run(Unknown Source)
SEVERE [null]: Last record repeated again.