[ 
https://issues.apache.org/jira/browse/NETBEANS-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Svatopluk Dedic updated NETBEANS-4991:
--------------------------------------
    Description: 
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.

  was:
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.



> 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
>            Priority: Major
>             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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to