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 164970 - AssertionError at org.netbeans.modules.ruby.AstUtilities.getRoot
Summary: AssertionError at org.netbeans.modules.ruby.AstUtilities.getRoot
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Refactoring (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-05-12 15:48 UTC by crishoj
Modified: 2009-05-14 07:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 150801


Attachments
stacktrace (1.84 KB, text/plain)
2009-05-12 15:48 UTC, crishoj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crishoj 2009-05-12 15:48:42 UTC
Build: NetBeans IDE Dev (Build 200905050201)
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:
GUEST: performing a series of method renames in JRuby

crishoj: rename constant in class



Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.ruby.AstUtilities.getRoot(AstUtilities.java:1521)
        at org.netbeans.modules.refactoring.ruby.plugins.RenameRefactoringPlugin$RenameTransformer.scan(RenameRefactoringPlugin.java:408)
        at org.netbeans.modules.refactoring.ruby.plugins.RenameRefactoringPlugin$2.process(RenameRefactoringPlugin.java:320)
        at org.netbeans.modules.refactoring.ruby.plugins.RubyRefactoringPlugin$TransformTask.visit(RubyRefactoringPlugin.java:227)
        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)
Comment 1 crishoj 2009-05-12 15:48:49 UTC
Created attachment 81979 [details]
stacktrace
Comment 2 Erno Mononen 2009-05-12 16:18:05 UTC
Reproduced, thanks for the report. Will fix for 6.7.
Comment 3 Erno Mononen 2009-05-13 13:10:01 UTC
Fixed in 3c8b2c98575f (ruby-main).
Comment 4 Quality Engineering 2009-05-14 07:54:08 UTC
Integrated into 'main-golden', will be available in build *200905140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3c8b2c98575f
User: Erno Mononen <emononen@netbeans.org>
Log: #164970: AssertionError at org.netbeans.modules.ruby.AstUtilities.getRoot