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 63500 - NPE in TestMethodNode.getPreferredAction
Summary: NPE in TestMethodNode.getPreferredAction
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2005-09-01 12:02 UTC by pzajac
Modified: 2005-09-13 10:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (1.92 KB, text/plain)
2005-09-01 12:03 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2005-09-01 12:02:48 UTC
[200508311800]
Steps to reproduce:
1) Create a netbeans module project
2) add empty TestCase to unit tests
3) run unit tests
4) click to error - warning in result
Comment 1 pzajac 2005-09-01 12:03:25 UTC
Created attachment 24448 [details]
exception
Comment 2 Marian Petras 2005-09-08 13:39:31 UTC
Confirmed, accepted.

This bug only happens if the user double-clicks on the special "warning" node.
All other nodes work as expected. Also, this bug does not cause data loss or
severe restriction of functionality - lowering priority to P3.
Comment 3 Marian Petras 2005-09-08 13:50:14 UTC
Fixed in the trunk.

Modified file:
    junit/src/org/netbeans/modules/junit/output/TestMethodNode.java   (1.3)

Diff:
http://www.netbeans.org/nonav/source/browse/junit/src/org/netbeans/modules/junit/output/TestMethodNode.java?r1=1.2&r2=1.3&diff_format=u
Comment 4 pzajac 2005-09-13 10:31:57 UTC
v