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 189071 - Adding new tool collection on remote host causes java.io.IOException in IDE log
Summary: Adding new tool collection on remote host causes java.io.IOException in IDE log
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 09:15 UTC by Alexander Pepin
Modified: 2010-10-20 12:16 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 Alexander Pepin 2010-07-30 09:15:16 UTC
While adding a new tool collection to remote host several java.io.IOException appear in IDE log:
...
INFO [nativeexecution.support.logger]: Error occurred: java.lang.InterruptedException
INFO [nativeexecution.support.logger]: Error occurred: java.lang.InterruptedException
java.io.IOException: Cannot start process
        at org.netbeans.modules.nativeexecution.api.util.ShellScriptRunner.execute(ShellScriptRunner.java:145)
        at org.netbeans.modules.cnd.remote.fs.RemoteFileSupport.syncDirStruct(RemoteFileSupport.java:297)
        at org.netbeans.modules.cnd.remote.fs.RemoteFileSupport.ensureDirSync(RemoteFileSupport.java:206)
        at org.netbeans.modules.cnd.remote.fs.RemoteDirectory.getChildren(RemoteDirectory.java:140)
        at org.netbeans.modules.remote.api.ui.FileObjectBasedFile.listFiles(FileObjectBasedFile.java:241)
        at org.netbeans.modules.remote.api.ui.RemoteFileSystemView.getFiles(RemoteFileSystemView.java:171)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:220)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:216)
        at sun.awt.shell.ShellFolderManager$DirectInvoker.invoke(ShellFolderManager.java:207)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:216)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:211)
java.io.IOException: Cannot start process
        at org.netbeans.modules.nativeexecution.api.util.ShellScriptRunner.execute(ShellScriptRunner.java:145)
        at org.netbeans.modules.cnd.remote.fs.RemoteFileSupport.syncDirStruct(RemoteFileSupport.java:297)
        at org.netbeans.modules.cnd.remote.fs.RemoteFileSupport.ensureDirSync(RemoteFileSupport.java:206)
        at org.netbeans.modules.cnd.remote.fs.RemoteDirectory.getChildren(RemoteDirectory.java:140)
        at org.netbeans.modules.remote.api.ui.FileObjectBasedFile.listFiles(FileObjectBasedFile.java:241)
        at org.netbeans.modules.remote.api.ui.RemoteFileSystemView.getFiles(RemoteFileSystemView.java:171)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:220)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:216)
        at sun.awt.shell.ShellFolderManager$DirectInvoker.invoke(ShellFolderManager.java:207)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:216)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:211)
Comment 1 Andrew Krasny 2010-10-20 11:56:59 UTC
Cannot reproduce.. Tried both: 
* local is Solaris and remote is Linux 
* local is Linux and remote is Solaris

Could you, please, provide more details.
Comment 2 Andrew Krasny 2010-10-20 12:16:47 UTC
As the root cause is an Interrupted Exception, it looks like user tried to cancel some activity (does it occur while being inside File Browser? Perhaps while some paths autocompletion?)

I have added more verbose logging.
Next time, if this exception occurs, please add the log produced...