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 93684

Summary: NPE from GoToOppositeAction.checkDirection
Product: java Reporter: Jesse Glick <jglick>
Component: JUnitAssignee: Marian Petras <mpetras>
Status: VERIFIED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Stack trace

Description Jesse Glick 2007-01-31 16:00:27 UTC
070130. I had just started the IDE. No projects were open.
Comment 1 Jesse Glick 2007-01-31 16:00:53 UTC
Created attachment 37883 [details]
Stack trace
Comment 2 Jesse Glick 2007-02-08 20:23:08 UTC
This exception continues to be thrown pretty much every time I start the IDE.
Comment 3 Marian Petras 2007-02-12 08:33:18 UTC
Accepted.
Comment 4 Marian Petras 2007-02-12 12:07:38 UTC
Fixed in the trunk.

The exception was thrown if no TopComponent was activated. I added a check for this.

Modified file:
   junit/src/org/netbeans/modules/junit/GoToOppositeAction.java   (1.14)

Diff:
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/GoToOppositeAction.java?r1=1.13&r2=1.14&diff_format=u
Comment 5 Marian Petras 2007-02-12 12:10:08 UTC
*** Issue 93862 has been marked as a duplicate of this issue. ***
Comment 6 Jesse Glick 2007-02-13 00:41:06 UTC
Set a specific target milestone, please. M7?
Comment 7 Marian Petras 2007-02-13 12:04:11 UTC
Yes, M7.
Comment 8 Jiri Vagner 2007-11-07 13:20:54 UTC
Verified

Product Version: NetBeans IDE Dev (Build 20071107092450)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)