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 197102

Summary: NullPointerException while importing plugins
Product: platform Reporter: bht <bht>
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: normal CC: mmirilovic
Priority: P2    
Version: 7.0   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Attachments: log files zipped

Description bht 2011-03-25 18:38:53 UTC
Created attachment 107290 [details]
log files zipped

NetBeans IDE Dev (Build 201103150400) (#b27ba3933214)

Please refer to attached log files
Comment 1 bht 2011-03-25 18:41:29 UTC
Just a hint, I have a personal firewall which usually prompts for NetBeans permissions. In this case I did not get prompts.
Comment 2 Marian Mirilovic 2011-03-25 23:27:45 UTC
java.lang.NullPointerException

	at java.util.StringTokenizer.<init>(StringTokenizer.java:182)

	at org.openide.modules.SpecificationVersion.parse(SpecificationVersion.java:80)

	at org.openide.modules.SpecificationVersion.<init>(SpecificationVersion.java:71)

	at org.netbeans.modules.autoupdate.pluginimporter.PluginImporter.inspect(PluginImporter.java:158)

	at org.netbeans.modules.autoupdate.pluginimporter.PluginImporter.getInstalledPlugins(PluginImporter.java:200)

[catch] at org.netbeans.modules.autoupdate.pluginimporter.Installer$2.run(Installer.java:152)

	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)

	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 3 Jiri Rechtacek 2011-03-31 12:28:47 UTC
IMHO it's not a showstopper, just NPE in logging clause of Plugin Importer. Will be fixed and handled in 7.0.1 release.
Comment 4 Jiri Rechtacek 2011-03-31 12:56:21 UTC
core-main/rev/7f9b455113a1
Comment 5 Quality Engineering 2011-04-01 08:39:55 UTC
Integrated into 'main-golden', will be available in build *201104010400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7f9b455113a1
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #197102: NullPointerException in PluginImporter