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 175108 - NullPointerException at org.netbeans.modules.gsf.testrunner.api.RootNodeChildren.displayReport
Summary: NullPointerException at org.netbeans.modules.gsf.testrunner.api.RootNodeChild...
Status: RESOLVED INCOMPLETE
Alias: None
Product: utilities
Classification: Unclassified
Component: Test Runner (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Victor Vasilyev
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2009-10-21 13:22 UTC by incubos
Modified: 2009-11-09 04:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 160569


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description incubos 2009-10-21 13:22:44 UTC
This issue was originally marked as duplicate of issue 136415, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.29.6-desktop-2mnb, amd64

User Comments:
incubos: Started JUnit test by Shift-F6



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.gsf.testrunner.api.RootNodeChildren.displayReport(RootNodeChildren.java:168)
        at org.netbeans.modules.gsf.testrunner.api.RootNode.displayReport(RootNode.java:161)
        at org.netbeans.modules.gsf.testrunner.api.ResultPanelTree.displayReport(ResultPanelTree.java:204)
        at sun.reflect.GeneratedMethodAccessor173.invoke(GeneratedMethodAccessor173.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
Comment 1 Victor Vasilyev 2009-10-29 02:02:39 UTC
I can't reproduce this bug.

Nevertheless, the NPE at
org.netbeans.modules.gsf.testrunner.api.RootNodeChildren.displayReport(RootNodeChildren.java:168) means that
runningSuiteNode is null. If so then an assertion error might be thrown before, but only in a case if assertions are
enabled. We need see a generated error message to understand what is wrong.

Please, restart IDE with the -J-ea option and publish info about assertion error here.
Comment 2 incubos 2009-10-30 11:44:09 UTC
I can hardly reproduce the bug myself. Nevertheless, I'll turn on assertions for the IDE and if this thing happens
again, I'll post the error message here.

Thank you for your help.
Comment 3 Victor Vasilyev 2009-11-09 04:49:49 UTC
I'll mark this issue as incomplete and random.
Please, re-open this issue when additional info will be provided.