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 189781 - java.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end
Summary: java.nio.channels.ClosedByInterruptException at java.nio.channels.spi.Abstrac...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2010-08-23 19:05 UTC by Kenneth Ganfield
Modified: 2011-03-25 09:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172104


Attachments
stacktrace (1.88 KB, text/plain)
2010-08-23 19:05 UTC, Kenneth Ganfield
Details
stacktrace (2.04 KB, text/plain)
2011-03-08 14:18 UTC, Ondrej Vrabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2010-08-23 19:05:38 UTC
Build: NetBeans IDE Dev (Build 201008230001)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01-279, Java(TM) SE Runtime Environment, 1.6.0_20-b02-279-9M3165
OS: Mac OS X

User Comments:
kganfield: attempting to rerun junit test of ejb using embedded container




Stacktrace: 
java.nio.channels.ClosedByInterruptException
   at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)
   at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:208)
   at org.netbeans.core.output2.FileMapStorage.write(FileMapStorage.java:237)
   at org.netbeans.core.output2.OutWriter.write(OutWriter.java:174)
   at org.netbeans.core.output2.OutWriter.doWrite(OutWriter.java:414)
   at org.netbeans.core.output2.OutWriter.println(OutWriter.java:310)
Comment 1 Kenneth Ganfield 2010-08-23 19:05:42 UTC
Created attachment 101609 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2010-08-24 09:33:38 UTC
is this bug reproducible or did it happen just once?
Comment 3 Ondrej Vrabec 2011-03-08 14:18:53 UTC
Created attachment 106822 [details]
stacktrace
Comment 4 Martin Entlicher 2011-03-17 15:43:25 UTC
Seems to occur randomly when the thread is interrupted during write operation.
Comment 5 Martin Entlicher 2011-03-24 16:06:14 UTC
Fixed by changeset:   191513:bac173b2f050
http://hg.netbeans.org/main/rev/bac173b2f050
Comment 6 Quality Engineering 2011-03-25 09:52:13 UTC
Integrated into 'main-golden', will be available in build *201103250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bac173b2f050
User: mentlicher@netbeans.org
Log: #189781 Do not report ClosedByInterruptException and close the stream.