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 249039 - NullPointerException at org.netbeans.modules.maven.junit.ui.MavenJUnitTestMethodNode.getActions
Summary: NullPointerException at org.netbeans.modules.maven.junit.ui.MavenJUnitTestMet...
Status: RESOLVED FIXED
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: 2014-12-01 17:22 UTC by Jesse Glick
Modified: 2015-09-03 01:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 213826


Attachments
stacktrace (2.95 KB, text/plain)
2014-12-01 17:22 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2014-12-01 17:22:28 UTC
Build: NetBeans IDE Dev (Build 20141201-5dfc6beb0c55)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Linux

User Comments:
jglick: Was about to try rerunning a failed unit test, but when I tried to get the context menu this NPE was thrown.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.junit.ui.MavenJUnitTestMethodNode.getActions(MavenJUnitTestMethodNode.java:93)
   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)
Comment 1 Jesse Glick 2014-12-01 17:22:30 UTC
Created attachment 150818 [details]
stacktrace
Comment 2 Jesse Glick 2014-12-01 17:24:10 UTC
The test in this case had an unusual (generated) name. (org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite, part of the suite InjectedTest on a Jenkins plugin.)
Comment 3 Theofanis Oikonomou 2015-09-02 14:31:07 UTC
Changeset: 063c8b054e46
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2015-09-02 16:30
Message:
Comment 4 Quality Engineering 2015-09-03 01:25:01 UTC
Integrated into 'main-silver', will be available in build *201509030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/063c8b054e46
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #249039 - NullPointerException at org.netbeans.modules.maven.junit.ui.MavenJUnitTestMethodNode.getActions