Cannot load NovaSAR data: s1tbx NoSuchMethodError


I’m using the NovaSAR plugin and cannot load NovaSAR data due to the NoSuchMethodError exception below that appears in the Snap messages.log file.

I realise that probably only a minority use the NovaSAR plugin, but the missing method (SARReader.createVirtualIntensityBand) should be in the s1tbx toolbox and is just called by the plugin.

I can compile the plugin, so the method must be there at compile time, but not runtime (I presume). I have also tried moving the C:\Program Files\snap\s1tbx directory to a different location in case this is where SNAP is trying to load the s1tbx toolbox and was missing the method, and restarted Snap, but this makes no difference.

Any help would be much appreciated,


at org.esa.snap.core.dataio.AbstractProductReader.readProductNodes(
at org.esa.snap.core.dataio.ProductIO.readProduct(
at org.openide.util.RequestProcessor$
at org.netbeans.modules.openide.util.GlobalLookup.execute(
at org.openide.util.lookup.Lookups.executeWith(
[catch] at org.openide.util.RequestProcessor$

I have resolved the issue myself. It turns out that there is a ‘breaking’ change to the SARReader.createVirtualIntensityBand() method signature between 8.0.0 and 8.0.4 (the current latest version).

The solution I found was to change the s1txb repo version in the pom.xml file:

and recompiling and reinstalling the plugin. The SARReader.createVirtualIntensityBand() NovaSAR plugin was then called without throwing an exception, and the bands were loaded in.

I’ve since realised that the problem affected the loading in of SRD, SCD and GRD NovaSAR Level 1 products; SLC data is not affected. See the NovaSARProductReader::addBands() method in the NovaSAR plugin.

1 Like

The breaking change between 8.0.0 and 8.0.4 was the change in the method’s return type, i.e. from:

public static void createVirtualIntensityBand(final Product product, final Band band, final String countStr)

to 8.0.4:
public static Band createVirtualIntensityBand(final Product product, final Band band, final String countStr)