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 193839 - java.io.IOException: java.lang.InterruptedException
Summary: java.io.IOException: java.lang.InterruptedException
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-27 13:27 UTC by Vladimir Voskresensky
Modified: 2011-01-18 06:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 175373


Attachments
stacktrace (1.13 KB, text/plain)
2010-12-27 13:27 UTC, Vladimir Voskresensky
Details
stacktrace (1.13 KB, text/plain)
2010-12-27 14:33 UTC, Vladimir Voskresensky
Details
stacktrace (13.81 KB, text/plain)
2010-12-27 18:00 UTC, Vladimir Voskresensky
Details
stacktrace (742 bytes, text/plain)
2010-12-28 12:06 UTC, Alexander Simon
Details
The most recent stack (1.13 KB, text/plain)
2011-01-17 13:52 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2010-12-27 13:27:10 UTC
Build: NetBeans IDE Dev (Build 101227-f9a96f40be3f)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: SunOS

User Comments:
vv159170: file chooser for openind remote core file




Stacktrace: 
java.io.IOException: java.lang.InterruptedException

   at org.netbeans.modules.remote.impl.fs.DirectoryReader.readDirectory(DirectoryReader.java:234)
   at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getDirectoryStorageImpl(RemoteDirectory.java:347)
   at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getDirectoryStorage(RemoteDirectory.java:246)
   at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getChildren(RemoteDirectory.java:202)
   at org.netbeans.modules.remote.api.ui.FileObjectBasedFile.listFiles(FileObjectBasedFile.java:256)
   at org.netbeans.modules.remote.api.ui.RemoteFileSystemView.getFiles(RemoteFileSystemView.java:174)
Comment 1 Vladimir Voskresensky 2010-12-27 13:27:14 UTC
Created attachment 104523 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2010-12-27 14:33:44 UTC
Created attachment 104527 [details]
stacktrace
Comment 3 Vladimir Voskresensky 2010-12-27 18:00:45 UTC
Created attachment 104530 [details]
stacktrace

disconnect host in services
Comment 4 Alexander Simon 2010-12-28 12:06:48 UTC
Created attachment 104558 [details]
stacktrace

add remote root in the favorites
Comment 5 Vladimir Kvashin 2011-01-17 13:52:18 UTC
Created attachment 105066 [details]
The most recent stack
Comment 6 Vladimir Kvashin 2011-01-17 13:53:12 UTC
The most recent stack shows that the issue is than RemoteProcess.waitFor returns nonzero status and "java.lang.InterruptedException" text in stderr instead of throwing InterruptedException. So on caller level it isn't possible to distinguist interruption from error.
Comment 7 Vladimir Kvashin 2011-01-17 17:28:10 UTC
http://hg.netbeans.org/cnd-main/rev/7c92df67ad92
Comment 8 Quality Engineering 2011-01-18 06:11:56 UTC
Integrated into 'main-golden', will be available in build *201101180000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/37e22b2c1d30
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: better exceptions processing - see #193839 -  java.io.IOException: java.lang.InterruptedException