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 210563 - NullPointerException at org.netbeans.modules.junit.TestUtil.getPluginForProject
Summary: NullPointerException at org.netbeans.modules.junit.TestUtil.getPluginForProject
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 16:41 UTC by Michel Graciano
Modified: 2012-04-05 14:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186569


Attachments
stacktrace (2.72 KB, text/plain)
2012-04-02 16:41 UTC, Michel Graciano
Details
stacktrace (3.06 KB, text/plain)
2012-04-03 13:53 UTC, J Bachorik
Details
stacktrace (3.05 KB, text/plain)
2012-04-05 14:08 UTC, J Bachorik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2012-04-02 16:41:54 UTC
Build: NetBeans IDE Dev (Build 20120330-9f88e9d9c55d)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

User Comments:
hmichel: Opening the IDE




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.junit.TestUtil.getPluginForProject(TestUtil.java:781)
   at org.netbeans.modules.junit.GoToOppositeAction.appliesTo(GoToOppositeAction.java:346)
   at org.netbeans.modules.gototest.GotoOppositeAction.getLocatorFor(GotoOppositeAction.java:193)
   at org.netbeans.modules.gototest.GotoOppositeAction.getFileType(GotoOppositeAction.java:211)
   at org.netbeans.modules.gototest.GotoOppositeAction.getCurrentFileType(GotoOppositeAction.java:222)
   at org.netbeans.modules.gototest.GotoOppositeAction.isEnabled(GotoOppositeAction.java:116)
Comment 1 Michel Graciano 2012-04-02 16:41:58 UTC
Created attachment 117678 [details]
stacktrace
Comment 2 J Bachorik 2012-04-03 13:53:16 UTC
Created attachment 117743 [details]
stacktrace

right click in Reference.java class
Comment 3 Theofanis Oikonomou 2012-04-03 14:23:24 UTC
Fixed: http://hg.netbeans.org/core-main/rev/64aca6f1bdf1
Comment 4 Quality Engineering 2012-04-04 10:08:06 UTC
Integrated into 'main-golden', will be available in build *201204040400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/64aca6f1bdf1
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #210563 - NullPointerException at org.netbeans.modules.junit.TestUtil.getPluginForProject
Comment 5 J Bachorik 2012-04-05 14:08:21 UTC
Created attachment 117895 [details]
stacktrace