Modules update 8.0.1 for SNAP available

Hi,
we have just released updated modules for SNAP.
They fix issues with writing of data and with the product library.
The solved issues are listed in JIRA: SNAP 8.0.1 - JIRA

2 Likes

Thanks for the update! Everything worked fine when updating SNAP 8 on Windows using GUI but I am running into issues when trying to update in a Dockerfile based on Debian image:

RUN wget http://step.esa.int/downloads/8.0/installers/esa-snap_sentinel_unix_8_0.sh
RUN chmod +x esa-snap_sentinel_unix_8_0.sh
RUN ./esa-snap_sentinel_unix_8_0.sh -q
RUN /opt/snap/bin/snap --nosplash --nogui --modules --update-all

The update starts but later reports a java error (“No fonts found”) and restarts in never ending loop. The same method worked with SNAP 7. I am posting only a snippet of the output and stack trace:

Will update org.esa.snap.snap.unmix@8.0.0 to version 8.0.1
Will update org.esa.snap.snap.remote.execution@8.0.0 to version 8.0.1
Will update org.esa.snap.snap.ndvi@8.0.0 to version 8.0.1
Will update org.esa.s1tbx.s1tbx.op.calibration@8.0.0 to version 8.0.1
updates=102
Establishing a connection …
Establishing a connection …
SNAP Core Library
SNAP Core Library
SNAP Python Interface
SNAP Python Interface
SNAP Remote Products Repository
SNAP Remote Products Repository
SNAP NetCDF Product Reader/Writer
SNAP NetCDF Product Reader/Writer
S1TBX Calibration UI
S1TBX Calibration UI
jLinda SNAP Support
jLinda SNAP Support
S1TBX Analysis Tools UI
S1TBX Analysis Tools UI
ESA GlobCover Worldmap
ESA GlobCover Worldmap
SNAP Classification
SNAP Classification
NASA Blue Marble Worldmap
NASA Blue Marble Worldmap
SNAP Standalone Tool Adapter GUI
SNAP Standalone Tool Adapter GUI
null
null
Exception in thread “main” java.lang.Error: Probable fatal error:No fonts found.
at sun.font.SunFontManager.getDefaultPhysicalFont(SunFontManager.java:1236)
at sun.font.SunFontManager.initialiseDeferredFont(SunFontManager.java:1100)
at sun.font.SunFontManager.findOtherDeferredFont(SunFontManager.java:1037)
at sun.font.SunFontManager.findDeferredFont(SunFontManager.java:1054)
at sun.font.SunFontManager.findFont2D(SunFontManager.java:2256)
at sun.font.SunFontManager.getDefaultPhysicalFont(SunFontManager.java:1220)
at sun.font.SunFontManager.initialiseDeferredFont(SunFontManager.java:1100)
at sun.font.SunFontManager.findOtherDeferredFont(SunFontManager.java:1037)
at sun.font.SunFontManager.findDeferredFont(SunFontManager.java:1054)
at sun.font.SunFontManager.findFont2D(SunFontManager.java:2256)
at sun.font.SunFontManager.getDefaultPhysicalFont(SunFontManager.java:1220)

I’ve found that this is a known issue with the OpenJDK distribution by AZUL.
Using Fonts with OpenJDK / Zulu – Azul Systems
In this article it is suggested to install some fonts.

We should check if another JDK distribution would be better and does not have this issue.
Maybe AdoptJDK or Corretto. I’ve opened a ticket for this:
[SNAP-1367] Azul JDK does not include fonts - JIRA

Installing fonts fixed it, thanks :slightly_smiling_face:

1 Like