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 255852

Summary: NullPointerException at org.netbeans.modules.gsf.testrunner.ui.StatisticsPanel.createRerunButtons
Product: java Reporter: capricious
Component: TestNGAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal CC: Bvaibhav, capricious, janvo, jungi, monezz, rweaver
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220478
Attachments: stacktrace

Description capricious 2015-10-11 07:31:32 UTC
This bug was originally marked as duplicate of bug 255104, 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 RC (Build 201510012201)
VM: OpenJDK 64-Bit Server VM, 25.60-b23, OpenJDK Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
capricious: I've tried to rerun a nodejs mocha unit test on the project the 2nd time (Alt-F6), after fixing an error in my code.
The test is now running, but not handled by netbeans.

   at org.netbeans.modules.gsf.testrunner.ui.StatisticsPanel.createRerunButtons(
   at org.netbeans.modules.gsf.testrunner.ui.StatisticsPanel.createToolbar(
   at org.netbeans.modules.gsf.testrunner.ui.StatisticsPanel.<init>(
   at org.netbeans.modules.gsf.testrunner.ui.ResultDisplayHandler.createDisplayComp(
   at org.netbeans.modules.gsf.testrunner.ui.ResultDisplayHandler.getDisplayComponent(
   at org.netbeans.modules.gsf.testrunner.ui.api.Manager$
Comment 1 capricious 2015-10-11 07:31:34 UTC
Created attachment 156654 [details]
Comment 2 Exceptions Reporter 2015-11-12 12:07:25 UTC
This bug already has 5 duplicates 
Comment 3 Exceptions Reporter 2015-11-12 13:22:25 UTC
Created attachment 157308 [details]

Try to run mocha test with Alt+F6