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 269699 - java.io.IOException: Failed to get process PID 7
Summary: java.io.IOException: Failed to get process PID 7
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-01 04:42 UTC by Exceptions Reporter
Modified: 2017-06-07 12:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 227887


Attachments
stacktrace (4.57 KB, text/plain)
2017-02-01 04:42 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-02-01 04:42:42 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
GUEST: save updates to remote file




Stacktrace: 
java.io.IOException: Failed to get process PID 7
   at org.netbeans.modules.remote.impl.fs.RemoteExceptions.createIOException(RemoteExceptions.java:65)
   at org.netbeans.modules.remote.impl.fs.SftpTransport.uploadAndRename(SftpTransport.java:281)
   at org.netbeans.modules.remote.impl.fs.RemoteFileSystemTransport.uploadAndRename(RemoteFileSystemTransport.java:267)
   at org.netbeans.modules.remote.impl.fs.RemotePlainFile$DelegateOutputStream.close(RemotePlainFile.java:523)
   at org.openide.text.CloneableEditorSupport.saveDocumentImpl(CloneableEditorSupport.java:817)
   at org.openide.text.CloneableEditorSupport.saveDocument(CloneableEditorSupport.java:644)
Comment 1 Exceptions Reporter 2017-02-01 04:42:44 UTC
Created attachment 163525 [details]
stacktrace
Comment 2 Vladimir Kvashin 2017-03-23 12:28:18 UTC
In IDE log I found the following:

Failed to upload pty
File /var/tmp/01828931767/pty doesnt exist, and cannot be uploaded. Do you have enough privileges?

That's the reason of the problem.
Comment 3 Vladimir Kvashin 2017-03-23 12:34:45 UTC
I think we should warn user in a more user friendly way in such cases.