Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] java NullPointerException and no such file or directory

Hi,

I am attempting to use Eclipse to help with debugging a large fortran code. I have used Cmake to create .project and .cproject files and imported these into eclipse where I can successfully build and run my project.

I come into problems when I try to debug my code within eclipse. (I am able to debug fine on the command line with gdb but a GUI would be nice…)

My current progress with this is logged in a stack exchange and forum post. These are


and


From the forum post it seems I am not the only one having these problems.

I have I think, made progress by separately importing the executable in the debug perspective ‘Executables’ table and the source code for this seems to be found successfully. However when I try to debug this I am confronted with a new error:

Failed to set program arguments, environment or working directory.
Unable to set working directory: "/Users/james/QC_Codes/Dalton/build": No such file or directory.
Unable to set working directory: "/Users/james/QC_Codes/Dalton/build": No such file or directory.
Unable to set working directory: "/Users/james/QC_Codes/Dalton/build": No such file or directory.

I have tripple checked and this directory definitely exists, indeed Eclipse is running the executable from here just fine. I have read that spaces in the path often cause problems, I have a habit of not including spaces in my paths for precisely this reason and I can’t see this being an issue.

I am at a loss for how to continue and would greatly appreciate any assistance.

Many thanks for reading,

James

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.



Back to the top