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 162155 - NullPointerException at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerLibraries.findWarning
Summary: NullPointerException at org.netbeans.modules.apisupport.project.ui.customizer...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: rmichalsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 17:41 UTC by vieiro
Modified: 2009-04-09 19:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149113


Attachments
stacktrace (898 bytes, text/plain)
2009-04-07 17:41 UTC, vieiro
Details
.tar.gz of nbproject directory (2.38 KB, application/x-gzip)
2009-04-07 20:54 UTC, vieiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vieiro 2009-04-07 17:41:07 UTC
Build: NetBeans IDE Dev (Build 200904051400)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: SunOS, 5.11, x86

User Comments:
vieiro: Suite Project/Properties/Libraries



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerLibraries.findWarning(SuiteCustomizerLibraries.java:1695)
        at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerLibraries.findWarning(SuiteCustomizerLibraries.java:1498)
        at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerLibraries.doUpdateDependencyWarnings(SuiteCustomizerLibraries.java:1572)
        at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerLibraries.access$2700(SuiteCustomizerLibraries.java:125)
        at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerLibraries$15.run(SuiteCustomizerLibraries.java:1450)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
Comment 1 vieiro 2009-04-07 17:41:11 UTC
Created attachment 79670 [details]
stacktrace
Comment 2 vieiro 2009-04-07 17:44:53 UTC
This makes the whole project unusable => changing from P3 (automagically generated) to P1

This is for a Module Suite that contains other modules suites and some modules from some clusters in the NetBeans
Default Platform.

Product Version: NetBeans IDE Dev (Build 200904051400)
Java: 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16
System: SunOS version 5.11 running on x86; UTF-8; es_ES (nb)
Userdir: /export/home/antonio/.netbeans/dev
Comment 3 rmichalsky 2009-04-07 18:54:50 UTC
Cannot reproduce, could you attach your suite's metadata (nbproject dir) here?
Comment 4 vieiro 2009-04-07 19:17:23 UTC
Happens in

Product Version: NetBeans IDE Dev (Build 200904070200)
Java: 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16
System: SunOS version 5.11 running on x86; UTF-8; es_ES (nb)
Userdir: /export/home/antonio/.netbeans/dev

as well.
Comment 5 vieiro 2009-04-07 20:54:32 UTC
Created attachment 79682 [details]
.tar.gz of nbproject directory
Comment 6 vieiro 2009-04-07 20:55:33 UTC
Just attached the nbproject directory (for an application with some modules in the default platform and two additional
clusters.)
Comment 7 rmichalsky 2009-04-08 14:34:59 UTC
There may be some race conditions when e.g. changing platform quickly couple times, don't know how could it happen only
when opening the dialog. Could reproduce artificially with test, thus the fix is half-blind, please verify once it gets
into production build.

core-main #202d15a85b11
Comment 8 Quality Engineering 2009-04-09 19:32:05 UTC
Integrated into 'main-golden', will be available in build *200904091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/202d15a85b11
User: Richard Michalsky <rmichalsky@netbeans.org>
Log: #162155: fixing NPE