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 165707 - NullPointerException at org.netbeans.modules.ruby.RubyUtils.getFileObject
Summary: NullPointerException at org.netbeans.modules.ruby.RubyUtils.getFileObject
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: RHTML (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Erno Mononen
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 14:39 UTC by Erno Mononen
Modified: 2009-05-23 06:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 151567


Attachments
stacktrace (4.79 KB, text/plain)
2009-05-21 14:39 UTC, Erno Mononen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2009-05-21 14:39:33 UTC
Build: NetBeans IDE Dev (Build 090519)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27-14-generic, amd64

User Comments:
emononen: Find usages in an rhtml file



Stacktrace: 
org.openide.util.RequestProcessor$Item: task failed: java.lang.RuntimeException
        at org.openide.util.RequestProcessor$Item.fillInStackTrace(RequestProcessor.java:853)
        at java.lang.Throwable.<init>(Throwable.java:181)
        at java.lang.Exception.<init>(Exception.java:29)
        at org.openide.util.RequestProcessor$Item.<init>(RequestProcessor.java:819)
        at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:629)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:295)
Comment 1 Erno Mononen 2009-05-21 14:39:42 UTC
Created attachment 82552 [details]
stacktrace
Comment 2 Erno Mononen 2009-05-22 12:57:55 UTC
Seems that RHTML refactoring is pretty broken because of this.
Comment 3 Erno Mononen 2009-05-22 13:19:16 UTC
Fixed, 27c025def94e in ruby-main.
Comment 4 Quality Engineering 2009-05-23 06:56:44 UTC
Integrated into 'main-golden', will be available in build *200905230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/27c025def94e
User: Erno Mononen <emononen@netbeans.org>
Log: #165707: NullPointerException at org.netbeans.modules.ruby.RubyUtils.getFileObject