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.
Summary: | NullPointerException at org.netbeans.modules.junit.TestUtil.getPluginForProject | ||
---|---|---|---|
Product: | java | Reporter: | paulr5930 <paulr5930> |
Component: | JUnit | Assignee: | Marian Petras <mpetras> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | SIMPLEFIX |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=6602 | ||
Issue Type: | DEFECT | Exception Reporter: | 6602 |
Attachments: |
stacktrace
stacktrace |
Description
paulr5930
2007-10-07 00:25:39 UTC
Created attachment 50327 [details]
stacktrace
Confirmed. 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. Fixed (in the trunk). Modified file: junit/src/org/netbeans/modules/junit/CreateTestAction.java (1.61) Diff: http://deadlock.netbeans.org/fisheye/browse/netbeans/junit/src/org/netbeans/modules/junit/CreateTestAction.java?r1=1.60&r2=1.61 Build: NetBeans IDE Dev (Build 200710090000) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Linux, 2.6.22.9-slh-smp-1, i386 User Comments: Installed the nightly build Ran NetBeans (no import settings) Opened 3 projects (dependent) Missing references Created attachment 50526 [details]
stacktrace
*** Issue 118269 has been marked as a duplicate of this issue. *** |