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 118024 - NullPointerException at org.netbeans.modules.junit.TestUtil.getPluginForProject
Summary: NullPointerException at org.netbeans.modules.junit.TestUtil.getPluginForProject
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
: 118269 (view as bug list)
Depends on:
Reported: 2007-10-07 00:25 UTC by paulr5930
Modified: 2007-10-10 06:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 6602

stacktrace (2.53 KB, text/plain)
2007-10-07 00:25 UTC, paulr5930
stacktrace (2.71 KB, text/plain)
2007-10-09 19:09 UTC, Unknown

Note You need to log in before you can comment on or make changes to this bug.
Description paulr5930 2007-10-07 00:25:39 UTC
Build: NetBeans IDE Dev (Build 200710060000)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
I was moving the mouse pointer from the VWP Navigation window up to the main menubar.
Comment 1 paulr5930 2007-10-07 00:25:47 UTC
Created attachment 50327 [details]
Comment 2 Marian Petras 2007-10-09 13:55:39 UTC

The exception is thrown if the following conditions are met:
 - at least two nodes are selected
 - none of the nodes is associated with some NetBeans project
 - menu Tools is activated

To reproduce, open the Favorites view (Ctrl-3), select any two nodes not associated with any NetBeans project and
activated the Tools menu.
Comment 3 Marian Petras 2007-10-09 14:01:47 UTC
Fixed (in the trunk).

Modified file:
    junit/src/org/netbeans/modules/junit/   (1.61)

Comment 4 Unknown 2007-10-09 19:09:18 UTC
Build: NetBeans IDE Dev (Build 200710090000)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Linux,, i386

User Comments: 
Installed the nightly build
Ran NetBeans (no import settings)
Opened 3 projects (dependent)
Missing references
Comment 5 Unknown 2007-10-09 19:09:26 UTC
Created attachment 50526 [details]
Comment 6 Marian Petras 2007-10-10 06:58:04 UTC
*** Issue 118269 has been marked as a duplicate of this issue. ***