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 169369

Summary: Exception: Expected RubyParseResult, but got org.netbeans.modules.ruby.rhtml.RhtmlParser$FakeParserResult@48221d
Product: ruby Reporter: theyaa <theyaa>
Component: EditingAssignee: Erno Mononen <emononen>
Status: RESOLVED FIXED    
Severity: blocker CC: bronson, bwlang, dboekhoff, gu6526, hjuskewycz, igonef, imomoi, kart, morii, racx, theyaa
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=153202
Issue Type: DEFECT Exception Reporter: 153202
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

Description theyaa 2009-07-28 18:25:55 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.Exception: Expected RubyParseResult, but got org.netbeans.modules.ruby.rhtml.RhtmlParser$FakeParserResult@48221d
        at org.netbeans.modules.ruby.AstUtilities.getRoot(AstUtilities.java:1545)
        at org.netbeans.modules.ruby.AstUtilities$2.run(AstUtilities.java:1524)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:189)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99)
Comment 1 theyaa 2009-07-28 18:26:01 UTC
Created attachment 85371 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-07-28 18:26:18 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153202
Comment 3 hjuskewycz 2009-07-29 11:22:41 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.7, x86_64

User Comments: 


Stacktrace: 
java.lang.Exception: Expected RubyParseResult, but got org.netbeans.modules.ruby.rhtml.RhtmlParser$FakeParserResult@751fc046
        at org.netbeans.modules.ruby.AstUtilities.getRoot(AstUtilities.java:1545)
        at org.netbeans.modules.ruby.AstUtilities$2.run(AstUtilities.java:1524)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:189)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99)
Comment 4 hjuskewycz 2009-07-29 11:23:00 UTC
Created attachment 85432 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-07-29 11:23:37 UTC
This issue already has 12 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153202
Comment 6 hjuskewycz 2009-07-29 11:23:58 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.7, x86_64

User Comments: 


Stacktrace: 
java.lang.Exception: Expected RubyParseResult, but got org.netbeans.modules.ruby.rhtml.RhtmlParser$FakeParserResult@62372406
        at org.netbeans.modules.ruby.AstUtilities.getRoot(AstUtilities.java:1545)
        at org.netbeans.modules.ruby.AstUtilities$2.run(AstUtilities.java:1524)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:189)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99)
Comment 7 hjuskewycz 2009-07-29 11:24:09 UTC
Created attachment 85433 [details]
stacktrace
Comment 8 Exceptions Reporter 2009-07-29 11:24:34 UTC
This issue already has 12 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153202
Comment 9 hjuskewycz 2009-07-29 11:24:51 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.7, x86_64

User Comments: 


Stacktrace: 
java.lang.Exception: Expected RubyParseResult, but got org.netbeans.modules.ruby.rhtml.RhtmlParser$FakeParserResult@3314c7d0
        at org.netbeans.modules.ruby.AstUtilities.getRoot(AstUtilities.java:1545)
        at org.netbeans.modules.ruby.AstUtilities$2.run(AstUtilities.java:1524)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:189)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99)
Comment 10 hjuskewycz 2009-07-29 11:25:01 UTC
Created attachment 85434 [details]
stacktrace
Comment 11 Exceptions Reporter 2009-07-29 11:25:18 UTC
This issue already has 12 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153202
Comment 12 Exceptions Reporter 2009-07-31 09:10:45 UTC
This issue already has 22 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153202
Comment 13 Exceptions Reporter 2009-07-31 16:37:04 UTC
This issue already has 23 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153202
Comment 14 Exceptions Reporter 2009-07-31 16:42:40 UTC
This issue already has 24 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153202
Comment 15 Erno Mononen 2009-08-19 15:48:33 UTC
Fixed in 32497cfb3b48.
Comment 16 Quality Engineering 2009-08-21 06:03:40 UTC
Integrated into 'main-golden', will be available in build *200908210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/32497cfb3b48
User: Erno Mononen <emononen@netbeans.org>
Log: #169369: Exception: Expected RubyParseResult, but got org.netbeans.modules.ruby.rhtml.RhtmlParser$FakeParserResult@48221d