This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 87429 - AU verificator cannot verify broken NBM
Summary: AU verificator cannot verify broken NBM
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2006-10-18 15:58 UTC by Jiri Rechtacek
Modified: 2011-06-09 09:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2006-10-18 15:58:18 UTC
Autoupdate Verificator can kill installation of downloaded NBMs if any of them
is broken. Verify phase should mark a broken NBM as invalid and allow to install
rest of NBMs. See issue 87383.
Comment 1 Jiri Rechtacek 2006-10-18 17:08:10 UTC
Works correctly on JDK1.6b102, the exception is thrown only on JDK1.5.
java.lang.NullPointerException
        at java.util.jar.JarFile.initializeVerifier(JarFile.java:316)
        at java.util.jar.JarFile.getInputStream(JarFile.java:390)
        at
org.netbeans.modules.autoupdate.SignVerifier.verifyJar(SignVerifier.java:301)

SignVerifier should catch it.
Comment 2 Jiri Rechtacek 2006-10-18 17:53:19 UTC
Checking in autoupdate/src/org/netbeans/modules/autoupdate/Downloader.java;
/shared/data/ccvs/repository/autoupdate/src/org/netbeans/modules/autoupdate/Downloader.java,v
 <--  Downloader.java
new revision: 1.56; previous revision: 1.55
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/SignVerifier.java;
/shared/data/ccvs/repository/autoupdate/src/org/netbeans/modules/autoupdate/SignVerifier.java,v
 <--  SignVerifier.java
new revision: 1.41; previous revision: 1.40
done
Comment 3 Marian Mirilovic 2011-06-09 09:52:07 UTC
v/c