Null Point Exception from S1 image

SNAP 9.0.0

I’m getting a NulPointerException when trying to apply Range Doppler Correction tool to an S1 image. I have already applied the orbit correction and speckle filter (gamma map, 7x7 kernel). I clicked on “report error” and it directed me here.

Exception text:

java.lang.NullPointerException
	at org.esa.s1tbx.sar.gpf.geometric.RangeDopplerGeocodingOp.getBandUnit(RangeDopplerGeocodingOp.java:1530)
	at org.esa.s1tbx.sar.gpf.geometric.RangeDopplerGeocodingOp.computeTileStack(RangeDopplerGeocodingOp.java:960)
Caused: org.esa.snap.core.gpf.OperatorException
	at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:434)
	at org.esa.s1tbx.sar.gpf.geometric.RangeDopplerGeocodingOp.computeTileStack(RangeDopplerGeocodingOp.java:1104)
	at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:122)
	at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeTile(OperatorImageTileStack.java:86)
Caused: org.esa.snap.core.gpf.OperatorException: java.lang.NullPointerException
	at org.esa.snap.core.gpf.internal.OperatorExecutor$GPFImagingListener.errorOccurred(OperatorExecutor.java:381)
	at com.sun.media.jai.util.SunTileScheduler.sendExceptionToListener(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.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)

Edit: I have tried many different options (different DEMs, etc.) and always get the same result. Here is my
messages.log (393.9 KB)

Edit: it seems the “Apply radiometric normalization” option is the problem. If I uncheck this, it works, with any DEM. Checking this box produces the error.

Hi Glen, I am facing the same issue even with the latest version (SNAP 11). Can you please help me understand how to solve this?

As per the original message, uncheck the “Apply radiometric normalization” option in the terrain correction tool options. This is a legacy option since radiometric normalisation is already performed in the calibration step.

1 Like

Thank you for your kind help and quick response.