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 148519 - java.io.IOException when ending debug session
Summary: java.io.IOException when ending debug session
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 21:14 UTC by tonybeckham
Modified: 2011-01-28 20:12 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 tonybeckham 2008-09-26 21:14:03 UTC
Problem:
Launching debug for a rails project then ending debug session java.io.IOException is thrown.  In the log only not in the
IDE.

System:
Product Version: NetBeans IDE Dev (Build 200809251401)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Linux version 2.6.24-21-generic running on i386; UTF-8; en_US (nb)

Exception:
INFO [org.netbeans.modules.ruby.platform.execution.OutputForwarder]: Process finished unexpectedly: Stream closed
java.io.IOException: Stream closed
	at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:308)
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
	at java.io.InputStreamReader.read(InputStreamReader.java:167)
	at java.io.BufferedReader.fill(BufferedReader.java:136)
	at java.io.BufferedReader.readLine(BufferedReader.java:299)
	at java.io.BufferedReader.readLine(BufferedReader.java:362)
[catch] at org.netbeans.modules.ruby.platform.execution.OutputForwarder.run(OutputForwarder.java:338)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
INFO [org.netbeans.modules.ruby.platform.execution.OutputForwarder]: Process finished unexpectedly: Bad file descriptor
java.io.IOException: Bad file descriptor
	at java.io.FileInputStream.readBytes(Native Method)
	at java.io.FileInputStream.read(FileInputStream.java:199)
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
	at java.io.InputStreamReader.read(InputStreamReader.java:167)
	at java.io.BufferedReader.fill(BufferedReader.java:136)
	at java.io.BufferedReader.readLine(BufferedReader.java:299)
	at java.io.BufferedReader.readLine(BufferedReader.java:362)
[catch] at org.netbeans.modules.ruby.platform.execution.OutputForwarder.run(OutputForwarder.java:338)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 _ deva 2008-09-26 21:40:03 UTC
Assertion errors are because of not ignoring the timed out responses.
Comment 2 _ deva 2008-09-26 21:41:09 UTC
Put comment for wrong issue
Comment 3 Martin Krauskopf 2008-10-09 12:30:40 UTC
It is just INFO message which does not bother user in any way. But good to have this filled.