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 164186 - AssertionError: Expecting RubyParseResult, but have org.netbeans.modules.languages.yaml.YamlParserResult@5976b793
Summary: AssertionError: Expecting RubyParseResult, but have org.netbeans.modules.lang...
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-04-30 11:43 UTC by geoffyoungs
Modified: 2009-09-18 10:46 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 150371


Attachments
stacktrace (1.68 KB, text/plain)
2009-04-30 11:43 UTC, geoffyoungs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description geoffyoungs 2009-04-30 11:43:39 UTC
This issue was originally marked as duplicate of issue 161033, that is already fixed. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.7 Beta (Build 200904280001)
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.24-24-generic, amd64

User Comments:
nigel_bris: Using find instances

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

geoffyoungs: Using the "Find usages" on a method in a rails helper

geoffyoungs: Find usages

GUEST: Find Usages of a method located in a helper

GUEST: The exception raised when I used Find Usages on Ruby Module



Stacktrace: 
java.lang.AssertionError: Expecting RubyParseResult, but have org.netbeans.modules.languages.yaml.YamlParserResult@5976b793
        at org.netbeans.modules.ruby.AstUtilities.getParseResult(AstUtilities.java:119)
        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:165)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:137)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:189)
Comment 1 geoffyoungs 2009-04-30 11:43:44 UTC
Created attachment 81297 [details]
stacktrace
Comment 2 Erno Mononen 2009-05-21 15:00:32 UTC
I think this could fixed now by the fix for #164970, can you please try the latest dev build and see if you still run 
into this? Thanks.
Comment 3 Tomas Danek 2009-09-18 10:46:01 UTC
seems according to exceptions reporter, that this is not reproducible anymore. marking as fixed.