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

Summary: NullPointerException at org.netbeans.modules.maven.junit.ui.MavenJUnitTestMethodNode.getTestcaseFileObject
Product: projects Reporter: Jiri Kovalsky <jkovalsky>
Component: MavenAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220890
Attachments: stacktrace

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 ***