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 270779

Summary: NullPointerException at bv.offa.netbeans.cnd.unittest.TestSupportUtils.getUniqueDeclaratonName
Product: java Reporter: rlamont <rlamont>
Component: TestNGAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal CC: jungi
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227751
Attachments: stacktrace

Description rlamont 2017-06-01 04:59:15 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Mac OS X

User Comments:
rlamont: Sorry, not entirely sure what I was doing - noticed this later

GUEST: Test result window dump 

"/usr/bin/make" -f nbproject/Makefile-Debug64bit.mk SUBPROJECTS= .test-conf
make[1]: Entering directory '/cygdrive/d/_JavaSeWork/MT4/MT_TradeSignal'
newtestclass::testPolynom
newtestclass::testPolynom2
newtestclass::testPolynom3
newtestclass::testGetY
newtestclass::testDifferentiate
make[1]: Leaving directory '/cygdrive/d/_JavaSeWork/MT4/MT_TradeSignal'




Stacktrace: 
java.lang.NullPointerException
   at bv.offa.netbeans.cnd.unittest.TestSupportUtils.getUniqueDeclaratonName(TestSupportUtils.java:227)
   at bv.offa.netbeans.cnd.unittest.TestSupportUtils.goToSourceOfTestSuite(TestSupportUtils.java:96)
   at bv.offa.netbeans.cnd.unittest.ui.GoToSourceSuiteTestNodeAction.doActionPerformed(GoToSourceSuiteTestNodeAction.java:54)
   at org.netbeans.modules.gsf.testrunner.ui.api.TestNodeAction.actionPerformed(TestNodeAction.java:59)
   at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1609)
   at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
Comment 1 rlamont 2017-06-01 04:59:18 UTC
Created attachment 164443 [details]
stacktrace