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.
This bug was originally marked as duplicate of bug 249039, 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: Tested my JUnitSampleProjectAnt project and then right clicked "testDivide Failed: expected: <0.0> but was: <NaN>" node to invoke "View Difference" action but popup menu didn't show up. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.maven.junit.ui.MavenJUnitTestMethodNode.getActions(MavenJUnitTestMethodNode.java:90) at org.openide.nodes.NodeOp.findActions(NodeOp.java:162) at org.openide.explorer.view.TreeView.createPopup(TreeView.java:1056) at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1555) at org.openide.awt.MouseUtils$PopupMouseAdapter.maybePopup(MouseUtils.java:189) at org.openide.awt.MouseUtils$PopupMouseAdapter.mousePressed(MouseUtils.java:180)
Created attachment 157105 [details] stacktrace
ant project and maven node - not sure if this should ever happen will prevent NPE and add warning logs
*** Bug 256319 has been marked as a duplicate of this bug. ***
fixed in jet-main #65a41e83528b
Integrated into 'main-silver', will be available in build *201604130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/65a41e83528b User: Tomas Stupka <tstupka@netbeans.org> Log: Issue #256320 - NullPointerException at org.netbeans.modules.maven.junit.ui.MavenJUnitTestMethodNode.getActions