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 172773 - ClassCastException: org.jrubyparser.ast.FCallNode cannot be cast to org.jrubyparser.ast.CallNode
Summary: ClassCastException: org.jrubyparser.ast.FCallNode cannot be cast to org.jruby...
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Erno Mononen
URL: http://statistics.netbeans.org/except...
Keywords:
: 172848 173162 173166 173460 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-22 14:25 UTC by Erno Mononen
Modified: 2009-10-01 09:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 158937


Attachments
stacktrace (2.93 KB, text/plain)
2009-09-22 14:25 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-09-22 14:25:36 UTC
Build: NetBeans IDE Dev (Build 090922)
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: Traversing files in the project view.



Stacktrace: 
java.lang.ClassCastException: org.jrubyparser.ast.FCallNode cannot be cast to org.jrubyparser.ast.CallNode
        at org.netbeans.modules.ruby.RubyMethodTypeInferencer.inferType(RubyMethodTypeInferencer.java:197)
        at org.netbeans.modules.ruby.RubyMethodTypeInferencer.inferTypeFor(RubyMethodTypeInferencer.java:105)
        at org.netbeans.modules.ruby.RubyTypeInferencer.inferType(RubyTypeInferencer.java:173)
        at org.netbeans.modules.ruby.RubyTypeInferencer.inferMethodNode(RubyTypeInferencer.java:214)
        at org.netbeans.modules.ruby.RubyTypeInferencer.inferType(RubyTypeInferencer.java:165)
        at org.netbeans.modules.ruby.RubyStructureAnalyzer.scan(RubyStructureAnalyzer.java:587)
Comment 1 Erno Mononen 2009-09-22 14:25:41 UTC
Created attachment 88107 [details]
stacktrace
Comment 2 Erno Mononen 2009-09-22 14:42:26 UTC
Fixed in a7bbae625cc4.
Comment 3 Erno Mononen 2009-09-23 10:30:39 UTC
*** Issue 172848 has been marked as a duplicate of this issue. ***
Comment 4 Quality Engineering 2009-09-24 12:31:54 UTC
Integrated into 'main-golden', will be available in build *200909230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a7bbae625cc4
User: Erno Mononen <emononen@netbeans.org>
Log: #172773: ClassCastException: org.jrubyparser.ast.FCallNode cannot be cast to org.jrubyparser.ast.CallNode
Comment 5 Erno Mononen 2009-09-29 08:35:29 UTC
*** Issue 173166 has been marked as a duplicate of this issue. ***
Comment 6 Erno Mononen 2009-09-29 08:40:56 UTC
*** Issue 173162 has been marked as a duplicate of this issue. ***
Comment 7 Erno Mononen 2009-10-01 09:23:15 UTC
*** Issue 173460 has been marked as a duplicate of this issue. ***