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 161372 - AssertionError: Expecting RubyParseResult, but have org.netbeans.modules.ruby.rhtml.RhtmlParser$FakeParserResult@f58064
Summary: AssertionError: Expecting RubyParseResult, but have org.netbeans.modules.ruby...
Status: RESOLVED DUPLICATE of bug 161033
Alias: None
Product: ruby
Classification: Unclassified
Component: RHTML (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-03-27 17:04 UTC by bobocopy
Modified: 2009-04-09 14:18 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148412


Attachments
stacktrace (1.69 KB, text/plain)
2009-03-27 17:05 UTC, bobocopy
Details
stacktrace (1.69 KB, text/plain)
2009-04-08 19:09 UTC, jdwyah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bobocopy 2009-03-27 17:04:51 UTC
Build: NetBeans IDE Dev (Build 200903250219)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
bobocopy: Looking for usages of a module method in an RoR project.



Stacktrace: 
java.lang.AssertionError: Expecting RubyParseResult, but have org.netbeans.modules.ruby.rhtml.RhtmlParser$FakeParserResult@f58064
        at org.netbeans.modules.ruby.AstUtilities.getParseResult(AstUtilities.java:120)
        at org.netbeans.modules.refactoring.ruby.plugins.RubyRefactoringPlugin$TransformTask.visit(RubyRefactoringPlugin.java:226)
        at org.netbeans.modules.refactoring.ruby.plugins.RubyRefactoringPlugin$TransformTask.run(RubyRefactoringPlugin.java:218)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:176)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:139)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:188)
Comment 1 bobocopy 2009-03-27 17:05:03 UTC
Created attachment 78988 [details]
stacktrace
Comment 2 jdwyah 2009-04-08 19:09:48 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments: 
refactor rename method in ruby application_helper.rb

Stacktrace: 
java.lang.AssertionError: Expecting RubyParseResult, but have org.netbeans.modules.ruby.rhtml.RhtmlParser$FakeParserResult@b78799
        at org.netbeans.modules.ruby.AstUtilities.getParseResult(AstUtilities.java:120)
        at org.netbeans.modules.refactoring.ruby.plugins.RubyRefactoringPlugin$TransformTask.visit(RubyRefactoringPlugin.java:226)
        at org.netbeans.modules.refactoring.ruby.plugins.RubyRefactoringPlugin$TransformTask.run(RubyRefactoringPlugin.java:218)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:167)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:139)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:188)
Comment 3 jdwyah 2009-04-08 19:09:57 UTC
Created attachment 79766 [details]
stacktrace
Comment 4 Erno Mononen 2009-04-09 14:18:05 UTC
Very likely caused by #161033.

*** This issue has been marked as a duplicate of 161033 ***