Ocean Object Detection on Radarsat-2 data causes a java exception

When attempting to run the Ocean Objection Detection application on Radarsat-2 data, the tool outputs a java.util.ConcurrentModificationException shortly after starting the process. This has been tested against a few datasets with the same result

The run output show the following error

java.util.ConcurrentModificationException java.util.ConcurrentModificationExceptionjava.lang.NullPointerException java.lang.NullPointerException Waiting thread received a null tile.

I’m curious if anyone else has run into this issue?

1 Like

I didn’t test it with Rardarsat-2 data but there are two things that I noticed.

  • Data should be calibrated first
  • Data should be in Slant geometry, so no Terrain Correction should be applied

Calibration is now part of the Ocean Object Detection process (see github commit https://github.com/senbox-org/s1tbx/commit/ae57ac5af061efbbfafa16a01cbb98849ec0d0f5). Attempting to run OOD on a calibrated dataset results in an error and won’t let you proceed.

Are you running from the master branch? I’ll have a look.

Yes, we’re running from the master branch. Thanks!