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 191202 - NullPointerException at org.netbeans.modules.apisupport.project.ui.UnitTestLibrariesNode$LibrariesChildren$1.run
Summary: NullPointerException at org.netbeans.modules.apisupport.project.ui.UnitTestLi...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: REGRESSION
: 193559 (view as bug list)
Depends on:
Blocks: 114356
  Show dependency tree
 
Reported: 2010-10-21 08:50 UTC by Filip Zamboj
Modified: 2011-01-08 09:31 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172746


Attachments
stacktrace (1.22 KB, text/plain)
2010-10-21 08:50 UTC, Filip Zamboj
Details
stacktrace (1.22 KB, text/plain)
2010-11-12 10:56 UTC, FrantaM
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2010-10-21 08:50:49 UTC
Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01-279, Java(TM) SE Runtime Environment, 1.6.0_20-b02-279-10M3065
OS: Mac OS X

User Comments:
rbalada: Clicked icon for expanding a tree (not the node itself, but the triangle in collapsed state) from "Functional Test Libraries" node in jellytools.ide project

jplatts: I was opening up NetBeans again.

GUEST: using Module, select 'Unit Test Libraries'

fzamboj: opened project jellytool ide from web-main sources




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.apisupport.project.ui.UnitTestLibrariesNode$LibrariesChildren$1.run(UnitTestLibrariesNode.java:228)
   at org.openide.util.Mutex.readAccess(Mutex.java:330)
   at org.netbeans.modules.apisupport.project.ui.UnitTestLibrariesNode$LibrariesChildren.refreshKeys(UnitTestLibrariesNode.java:224)
   at org.netbeans.modules.apisupport.project.ui.UnitTestLibrariesNode$LibrariesChildren.addNotify(UnitTestLibrariesNode.java:213)
   at org.openide.nodes.Children.callAddNotify(Children.java:568)
   at org.openide.nodes.EntrySupport$Default.getArray(EntrySupport.java:762)
Comment 1 Filip Zamboj 2010-10-21 08:50:56 UTC
Created attachment 102537 [details]
stacktrace
Comment 2 FrantaM 2010-11-12 10:56:55 UTC
Created attachment 102937 [details]
stacktrace

Expand "Unit Test Libraries" node on maven OSGi netbeans module.
Comment 3 Jesse Glick 2010-11-13 00:02:20 UTC
core-main #f7b127546426
Comment 4 Quality Engineering 2010-11-14 06:22:23 UTC
Integrated into 'main-golden', will be available in build *201011140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f7b127546426
User: Jesse Glick <jglick@netbeans.org>
Log: #191202: NullPointerException at org.netbeans.modules.apisupport.project.ui.UnitTestLibrariesNode$LibrariesChildren$1.run
Comment 5 Jesse Glick 2010-12-08 23:34:14 UTC
Introduced by fix for bug #114356. Better fix in core-main #d4a693610116.
Comment 6 Quality Engineering 2010-12-10 06:16:52 UTC
Integrated into 'main-golden', will be available in build *201012100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d4a693610116
User: Jesse Glick <jglick@netbeans.org>
Log: Better fix of #191202. "Add Missing Libraries" action was not present in case module had no test deps at all.
Comment 7 Jesse Glick 2011-01-07 23:17:04 UTC
*** Bug 193559 has been marked as a duplicate of this bug. ***