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 91129 - IAE when displaying hyperlinked error from output window
Summary: IAE when displaying hyperlinked error from output window
Status: VERIFIED 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: 2006-12-15 14:29 UTC by Tomas Danek
Modified: 2007-07-03 14:38 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 2006-12-15 14:29:41 UTC
NetBeans IDE Dev (Build 061214)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Linux version 2.6.17-10-generic running on i386
cs_CZ (nb); UTF-8

from hudson

----------------------
- create ruby application
- make an syntax error in main.rb - type:

puts = "Hello world".

-run (F6)
-syntax error (hyperlinked)in output w., when you click it -  IAE

java.lang.IllegalArgumentException: Parameter file was not normalized. Was
main.rb instead of /home/tomas/rubyIDE/netbeans/bin/main.rb
	at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:506)
	at
org.netbeans.modules.ruby.rubyproject.api.RubyExecutionService$MyOutputListener.findFile(RubyExecutionService.java:477)
	at
org.netbeans.modules.ruby.rubyproject.api.RubyExecutionService$MyOutputListener.outputLineAction(RubyExecutionService.java:459)
	at org.netbeans.core.output2.Controller.lineClicked(Controller.java:837)
	at org.netbeans.core.output2.OutputWindow.lineClicked(OutputWindow.java:243)
	at org.netbeans.core.output2.OutputTab.lineClicked(OutputTab.java:138)
	at org.netbeans.core.output2.OutputPane.lineClicked(OutputPane.java:49)
	at
org.netbeans.core.output2.ui.AbstractOutputPane.mouseReleased(AbstractOutputPane.java:542)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
...
...
Comment 1 Torbjorn Norbye 2006-12-15 15:31:19 UTC
Probably an unintentional side effect of my large refactoring yesterday.
Investigating.
Comment 2 Torbjorn Norbye 2006-12-15 15:48:49 UTC
Fixed in build 171. It wasn't as bad as I thought; most output window hyperlinks
(rails code generator, webbrick error messages, ruby unit tests and single file
(Shift-F6) all worked.  The problem was with project execution, where an empty
lookup context was passed in (since it's not a lookup sensitive action). The
file locator needs to do some extra work in that case. I suspect this has been
broken earlier.
Comment 3 Tomas Danek 2006-12-18 13:56:42 UTC
not reproducible in #191
NetBeans IDE Dev (Build 061214)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Linux version 2.6.17-10-generic running on i386
cs_CZ (nb); UTF-8

->verified.

Comment 4 Jiri Kovalsky 2007-07-03 13:55:02 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 5 Jiri Kovalsky 2007-07-03 14:38:29 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.