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 158620 - NullPointerException at org.netbeans.modules.ruby.testrunner.ui.RubyTestsuiteNode.getFirstTestCase
Summary: NullPointerException at org.netbeans.modules.ruby.testrunner.ui.RubyTestsuite...
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Erno Mononen
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 15:54 UTC by mvanek
Modified: 2009-03-17 08:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 146376


Attachments
stacktrace (2.58 KB, text/plain)
2009-02-16 15:55 UTC, mvanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mvanek 2009-02-16 15:54:58 UTC
Build: NetBeans IDE Dev (Build 200902120201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-11-generic, amd64

User Comments:
mvanek: 1. Run automated test in ruby for kenai
2. during test run right click test name in test result window
NPE appeares



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.ruby.testrunner.ui.RubyTestsuiteNode.getFirstTestCase(RubyTestsuiteNode.java:72)
        at org.netbeans.modules.ruby.testrunner.ui.RubyTestsuiteNode.getPreferredAction(RubyTestsuiteNode.java:77)
        at org.netbeans.modules.ruby.testrunner.ui.RubyTestsuiteNode.getActions(RubyTestsuiteNode.java:96)
        at org.openide.nodes.NodeOp.findActions(NodeOp.java:144)
        at org.openide.explorer.view.TreeView.createPopup(TreeView.java:963)
        at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1439)
Comment 1 mvanek 2009-02-16 15:55:03 UTC
Created attachment 77028 [details]
stacktrace
Comment 2 mvanek 2009-02-16 16:00:49 UTC
For clear understation - during test run righ click 
Acceptance test running node label
Comment 3 Erno Mononen 2009-03-13 16:19:00 UTC
Fixed in 2210be4439da (ruby-main), thanks for the catch.
Comment 4 Quality Engineering 2009-03-17 08:34:15 UTC
Integrated into 'main-golden', will be available in build *200903170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2210be4439da
User: Erno Mononen <emononen@netbeans.org>
Log: #158620: NullPointerException at org.netbeans.modules.ruby.testrunner.ui.RubyTestsuiteNode.getFirstTestCase