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 95075 - IAE from RubyPositionManager
Summary: IAE from RubyPositionManager
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-09 13:40 UTC by Tomas Danek
Modified: 2007-07-03 14:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2007-02-09 13:40:05 UTC
no steps to reproduce,just playing with some script...if stacktrace is not
helpful, feel free to close.


Caused by: java.lang.IllegalArgumentException: Foreign element:
File:file:/space/work/all3/nbbuild/netbeans/extra/jruby-0.9.2/lib/ruby/1.8/ftools.rb
    at
org.netbeans.modules.ruby.RubyPositionManager.getOffsetRange(RubyPositionManager.java:48)
    at org.netbeans.api.retouche.source.UiUtils$2.run(UiUtils.java:179)
    at org.netbeans.api.retouche.source.UiUtils$2.run(UiUtils.java:159)
    at org.netbeans.api.retouche.source.Source.runUserActionTask(Source.java:434)
    ... 28 more
Comment 1 Torbjorn Norbye 2007-02-09 16:16:11 UTC
I have made the IllegalArgumentException message a bit more specific; when it
happens again can you provide the updated message?
Comment 2 Torbjorn Norbye 2007-02-09 18:33:43 UTC
This might have been fixed by my integration for issue 93112.   The steps for
93112 would reproduce the problem, and that is now fixed. I am leaving this bug
open for a while in case there are other scenarios where this method ends up
getting called with an invalid parameter.
Comment 3 Torbjorn Norbye 2007-06-19 20:30:43 UTC
I believe this is fixed now
Comment 4 Jiri Kovalsky 2007-07-03 14:14:54 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 5 Jiri Kovalsky 2007-07-03 14:45:21 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.