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 253884 - working directory refers to a non existent path
Summary: working directory refers to a non existent path
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-28 08:20 UTC by agan
Modified: 2015-08-10 11:27 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 agan 2015-07-28 08:20:41 UTC
Hello,

I am building my application on redhat 6.4 server. I am using netbeans 8.0.2 and java is 7 update 51. The application compiles fine on remote system but when i try to run it or debug then it gives the error "working directory refers to a non existent path "
Comment 1 Vladimir Kvashin 2015-07-29 04:40:45 UTC
Please look into the project properties. What is there in fields "Run Directory" (Run section) and "Working dir" (Debug section)?
Comment 2 agan 2015-07-29 06:26:36 UTC
Hello Vladimir,

Thank you for your reply.
I get the latest code on windows machine and i build it on linux box using SFTP.
In the error that i received, "working directory refers to a non existent path" the path mentioned in the error is the linux path where files exist.

I specified same linux directory path in "Run Directory" (Run section) and "Working dir" (Debug section). I also tried specifying windows path in "Run Directory" (Run section) and "Working dir" (Debug section). I also tried specifying linux directory in "Run Directory" (Run section) and windows directory in "Working dir" (Debug section). Still i get the same error.


Thanks and Regards,
Amol Gandhi
Comment 3 agan 2015-07-30 13:00:01 UTC
Hello Vladimir,
Some more information i think might be useful.

If i create a new project "test" then in the windows path following files are existing but they do not exist in linux box. If i try to build "test" project it fails as below mentioned files are missing on linux box.  

test/nbproject/configurations.xml
test/nbproject/private/configurations.xml
test/nbproject/private/project.xml
test/nbproject/private/launcher.properties
test/nbproject/private/timestamps******

If i add the files below then it compiles but it gives same error.

Thanks and Regards,
Agan
Comment 4 agan 2015-07-31 05:36:37 UTC
Hello Vladimir,
Some more information.
This is the output if i create a test project.
################################################## 
Copying project files to /else/amol/.netbeans/remote/10.250.33.211/edemummrkthvd12-Windows-x86_64 at amol@10.250.33.211
Building project files list...
Checking directory structure...
Checking previously uploaded files...
Checking links...
Uploading changed files:
	Zipping 10 changed files...
	Uploading zip to amol@10.250.33.211...
	Unzipping changed files...
Checking exec permissions...
chmod: cannot access `/else/amol/.netbeans/remote/10.250.33.211/edemummrkthvd12-Windows-x86_64/C/Users/amolg/Documents/NetBeansProjects/testamol/nbproject/configurations.xml': No such file or directory
chmod: cannot access `/else/amol/.netbeans/remote/10.250.33.211/edemummrkthvd12-Windows-x86_64/C/Users/amolg/Documents/NetBeansProjects/testamol/nbproject/private/configurations.xml': No such file or directory
chmod: cannot access `/else/amol/.netbeans/remote/10.250.33.211/edemummrkthvd12-Windows-x86_64/C/Users/amolg/Documents/NetBeansProjects/testamol/nbproject/private/private.xml': No such file or directory
chmod: cannot access `/else/amol/.netbeans/remote/10.250.33.211/edemummrkthvd12-Windows-x86_64/C/Users/amolg/Documents/NetBeansProjects/testamol/nbproject/private/launcher.properties': No such file or directory
chmod: cannot access `/else/amol/.netbeans/remote/10.250.33.211/edemummrkthvd12-Windows-x86_64/C/Users/amolg/Documents/NetBeansProjects/testamol/nbproject/private/timestamps-10.250.33.211-amol-22': No such file or directory
Error copying project files to /else/amol/.netbeans/remote/10.250.33.211/edemummrkthvd12-Windows-x86_64 at amol@10.250.33.211: 
Can not check remote directories. xargs exited with error code 123
BUILD FAILED
####################################

Thanks and Regards,
Amol Gandhi
Comment 5 Vladimir Kvashin 2015-08-10 11:27:58 UTC
Most likely this is a duplicate of one of the two issues:
issue 249059 or issue 249074.
Both are fixed in 8.1 beta and sure in development version.
Could you please try 8.1 beta or development version?
If the problem still exists, then please reopen the bug.