Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a new file saves it in a directory path and crashes the server. #17

Open
nedoxff opened this issue Jun 25, 2021 · 0 comments
Open

Comments

@nedoxff
Copy link

nedoxff commented Jun 25, 2021

By pressing "New" when opening a file, it usually sets the path of the file to the source code's directory (which means the file name is empty, and the extension as well)
When saving that file, it crashes the server with:

[save-file /THE/BROKEN/PATH/bettercodeserver/ ]
#object[clojure.core$agent_error 0x19092ab4 clojure.core$agent_error@19092ab4] #error {
 :cause /THE/BROKEN/PATH/bettercodeserver/ (This is a directory)
 :via
 [{:type java.io.FileNotFoundException
   :message /THE/BROKEN/PATH/bettercodeserver/  (This is a directory)
   :at [java.io.FileOutputStream open0 FileOutputStream.java -2]}]

bettercode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant