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 - NullPointerException at org.netbeans.modules.gsf.testrunner.ui.StatisticsPanel.createRerunButtons
Summary: NullPointerException at org.netbeans.modules.gsf.testrunner.ui.StatisticsPane...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-11 07:31 UTC by capricious
Modified: 2017-04-28 06:22 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220478


Attachments
stacktrace (1.71 KB, text/plain)
2015-10-11 07:31 UTC, capricious
Details
stacktrace (1.71 KB, text/plain)
2015-11-12 13:22 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.gsf.testrunner.ui.StatisticsPanel.createRerunButtons(StatisticsPanel.java:255)
   at org.netbeans.modules.gsf.testrunner.ui.StatisticsPanel.createToolbar(StatisticsPanel.java:155)
   at org.netbeans.modules.gsf.testrunner.ui.StatisticsPanel.<init>(StatisticsPanel.java:130)
   at org.netbeans.modules.gsf.testrunner.ui.ResultDisplayHandler.createDisplayComp(ResultDisplayHandler.java:139)
   at org.netbeans.modules.gsf.testrunner.ui.ResultDisplayHandler.getDisplayComponent(ResultDisplayHandler.java:130)
   at org.netbeans.modules.gsf.testrunner.ui.api.Manager$5.run(Manager.java:526)
Comment 1 capricious 2015-10-11 07:31:34 UTC
Created attachment 156654 [details]
stacktrace
Comment 2 Exceptions Reporter 2015-11-12 12:07:25 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=220478
Comment 3 Exceptions Reporter 2015-11-12 13:22:25 UTC
Created attachment 157308 [details]
stacktrace

Try to run mocha test with Alt+F6