You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2020/11/04 10:11:00 UTC
[jira] [Created] (NETBEANS-4991) nbjavac sometimes fails to install
Svatopluk Dedic created NETBEANS-4991:
-----------------------------------------
Summary: nbjavac sometimes fails to install
Key: NETBEANS-4991
URL: https://issues.apache.org/jira/browse/NETBEANS-4991
Project: NetBeans
Issue Type: Bug
Components: platform - Autoupdate
Affects Versions: 12.2
Reporter: Svatopluk Dedic
Fix For: Next
NB is run as
{quote}netbeans --modules --install *nbjavac*{quote}
but sometimes fail to download / install nbjavac modules. Even though discovered during testing of [PR-2517|https://github.com/apache/netbeans/pull/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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists