Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.2
-
None
Description
NB is run as
netbeans --modules --install nbjavac
but sometimes fail to download / install nbjavac modules. Even though discovered during testing of PR-2517, it is probably a general NB infrastructure issue.
The reported errors are:java.io.IOException: Wrong CRC for /tmp/vscode2/User/globalStorage/jlahoda.apache-netbeans-java/userdir/modules/ext/nb-javac-15-api.jar
at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:451)
at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
...
java.io.FileNotFoundException: /tmp/vscode2/User/globalStorage/jlahoda.apache-netbeans-java/userdir/update/download/org-netbeans-modules-nbjavac.nbm (No such
file or directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:130)
at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:349)
at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
In this situation, nbjavac NBMs are not properly unpacked and the IDE configuration / userdir is broken.