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 256319 - NullPointerException at org.netbeans.modules.maven.junit.ui.MavenJUnitTestMethodNode.getTestcaseFileObject
Summary: NullPointerException at org.netbeans.modules.maven.junit.ui.MavenJUnitTestMet...
Status: RESOLVED DUPLICATE of bug 256320
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-02 12:43 UTC by Jiri Kovalsky
Modified: 2016-04-12 14:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220890


Attachments
stacktrace (768 bytes, text/plain)
2015-11-02 12:43 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2015-11-02 12:43:15 UTC
This bug was originally marked as duplicate of bug 254980, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) Client VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17
OS: Linux

User Comments:
jkovalsky: Double clicked some test in Test Results window with two same projects open (one Ant based and one Maven based).




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.junit.ui.MavenJUnitTestMethodNode.getTestcaseFileObject(MavenJUnitTestMethodNode.java:140)
   at org.netbeans.modules.maven.junit.ui.MavenJUnitNodeOpener.openCallstackFrame(MavenJUnitNodeOpener.java:191)
   at org.netbeans.modules.java.testrunner.ui.api.UIJavaUtils.openCallstackFrame(UIJavaUtils.java:114)
   at org.netbeans.modules.java.testrunner.ui.api.JumpAction$1.run(JumpAction.java:95)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
Comment 1 Jiri Kovalsky 2015-11-02 12:43:17 UTC
Created attachment 157104 [details]
stacktrace
Comment 2 Tomas Stupka 2016-04-12 14:03:32 UTC

*** This bug has been marked as a duplicate of bug 256320 ***