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 165102 - java.io.InterruptedIOException at java.io.PipedInputStream.read
Summary: java.io.InterruptedIOException at java.io.PipedInputStream.read
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@cnd
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 18:33 UTC by Egor Ushakov
Modified: 2009-05-21 08:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151108


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2009-05-13 18:33:36 UTC
Build: NetBeans IDE Dev (Build 090513)
VM: Java HotSpot(TM) Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: SunOS, 5.11, x86
User comments: clicked on stop button during remote clean
STACKTRACE: (first 10 lines)
java.io.InterruptedIOException
        at java.io.PipedInputStream.read(PipedInputStream.java:312)
        at java.io.PipedInputStream.read(PipedInputStream.java:361)
        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 sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:107)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:93)
        at java.io.InputStreamReader.read(InputStreamReader.java:151)
        at org.netbeans.modules.cnd.remote.support.RemoteNativeExecutionSupport.<init>(RemoteNativeExecutionSupport.java:96)
        at org.netbeans.modules.cnd.remote.execution.RemoteNativeExecution.executeCommand(RemoteNativeExecution.java:90)
Comment 1 Vladimir Kvashin 2009-05-13 18:50:53 UTC
Please let me know if it repeats. I was unable to repeat this so far.
Comment 2 Leonid Lenyashin 2009-05-16 20:35:16 UTC
Since the assigned engineer indicated that issue is not reproducible - closing as wfm.
Comment 3 Alexander Simon 2009-05-17 07:27:04 UTC
IMHO code should eat InterruptedIOException.
See code:
        } catch (InterruptedException ie) {
            // this occurs, for example, when user stops running program - need no report
        } catch (IOException ioe) {
            log.log(Level.WARNING, ioe.getMessage(), ioe);
...
So IDE will log unnecessary InterruptedIOException.
Should be added catch
        } catch (InterruptedException ie) {
            // this occurs, for example, when user stops running program - need no report
        } catch (InterruptedIOException ie) {
            // this occurs, for example, when user stops running program - need no report
        } catch (IOException ioe) {
            log.log(Level.WARNING, ioe.getMessage(), ioe);
But definitely probability of issue is very low.
Comment 4 Vladimir Kvashin 2009-05-20 15:04:26 UTC
fixed:
http://hg.netbeans.org/cnd-main/rev/0baeb9376143
Comment 5 Quality Engineering 2009-05-21 08:26:32 UTC
Integrated into 'main-golden', will be available in build *200905210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0baeb9376143
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #165102 InterruptedIOException ...