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 210724 - NullPointerException at org.netbeans.modules.junit.DefaultPlugin.getTestResName
Summary: NullPointerException at org.netbeans.modules.junit.DefaultPlugin.getTestResName
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-04 18:14 UTC by fortruth
Modified: 2012-04-06 10:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186622


Attachments
stacktrace (3.15 KB, text/plain)
2012-04-04 18:14 UTC, fortruth
Details
stacktrace (2.82 KB, text/plain)
2012-04-04 18:35 UTC, Martin Fousek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fortruth 2012-04-04 18:14:52 UTC
Build: NetBeans IDE Dev (Build 201204030400)
VM: OpenJDK 64-Bit Server VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.junit.DefaultPlugin.getTestResName(DefaultPlugin.java:697)
   at org.netbeans.modules.junit.DefaultPlugin.getTestLocation(DefaultPlugin.java:255)
   at org.netbeans.modules.junit.GoToOppositeAction.appliesTo(GoToOppositeAction.java:349)
   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)
Comment 1 fortruth 2012-04-04 18:14:57 UTC
Created attachment 117833 [details]
stacktrace
Comment 2 Martin Fousek 2012-04-04 18:35:21 UTC
Created attachment 117834 [details]
stacktrace
Comment 3 Exceptions Reporter 2012-04-04 18:35:39 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=186622
Comment 4 Theofanis Oikonomou 2012-04-05 10:45:48 UTC
Fixed: http://hg.netbeans.org/core-main/rev/08cf12bef801
Comment 5 Quality Engineering 2012-04-06 10:05:56 UTC
Integrated into 'main-golden', will be available in build *201204060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/08cf12bef801
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #210724 - NullPointerException at org.netbeans.modules.junit.DefaultPlugin.getTestResName