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 107236 - Missing line numbers and hyperlinks in output window for JRuby
Summary: Missing line numbers and hyperlinks in output window for JRuby
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
: 113420 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-19 15:18 UTC by Jiri Skrivanek
Modified: 2008-02-28 08:44 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-06-19 15:18:43 UTC
Error line numbers and hyperlinks are missing in output window. It works well with native Ruby. To reproduce:

- create Ruby Application
- make a syntax error in main.rb (e.g. replace puts by putsx)
- run main.rb (Shift+F6). It prints error to the output window but there is no line number and no hyperlink to editor.

Build 20070619, WindowsXP, JDK1.6.0_02-ea-b02.
Comment 1 Torbjorn Norbye 2007-06-26 22:52:04 UTC
I can reproduce this if the syntax error is the one listed (e.g. unknown method putsx). If you instead omit the closing quote for the string, you get an error 
message that includes the filename and line number.

This is a JRuby bug; we should file an issue with JRuby's JIRA.
Comment 2 Jiri Kovalsky 2007-07-03 14:15:57 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 3 Jiri Skrivanek 2007-08-27 13:07:07 UTC
*** Issue 113420 has been marked as a duplicate of this issue. ***
Comment 4 Torbjorn Norbye 2007-08-27 18:10:18 UTC
Filed

http://jira.codehaus.org/browse/JRUBY-1292
Comment 5 Martin Krauskopf 2007-08-27 18:45:23 UTC
So this might be closed or changed to TASK (if you want to backport (if they fix it in the NB 6.0 time frame)?
Comment 6 Martin Krauskopf 2007-09-20 16:06:27 UTC
This is bug in the JRuby interpreter which seems to fixed in trunk BTW. I've commented the JIRA issue.
Comment 7 Martin Krauskopf 2008-02-22 15:33:53 UTC
Nothing more to fix/watch here. In (bundled) JRuby 1.1 (RCs/trunk) it is fixed. Still not in JRuby 1.0.3. Please CC
yourself to the mentioned JRuby issue (the URL) to watch the progress.
Comment 8 Jiri Skrivanek 2008-02-28 08:44:40 UTC
Verified.