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.
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
I have made the IllegalArgumentException message a bit more specific; when it happens again can you provide the updated message?
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.
I believe this is fixed now
Reassigning this issue to newly created 'ruby' component.
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.