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

Summary: NPE in TestMethodNode.getPreferredAction
Product: java Reporter: pzajac <pzajac>
Component: JUnitAssignee: Marian Petras <mpetras>
Status: VERIFIED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: exception

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