We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The JDK filesystem API takes an arbitrary Path as an argument. Hence, also for the filesystem root the following is a valid method call:
Path root = fs.getPath("/"); Files.createDirectory(root);
Although the above will likely throw an exception, it should be an IOException. Currently, a NullPointerException is thrown, caused by
IOException
NullPointerException
cryptofs/src/main/java/org/cryptomator/cryptofs/CryptoFileSystemImpl.java
Lines 630 to 635 in 59a8ec2
We need some null-check for Path::getFileName. Additionally, we should check which other methods choke on the root path.
Path::getFileName
The text was updated successfully, but these errors were encountered:
fixes #132
de9a1b1
infeo
Successfully merging a pull request may close this issue.
The JDK filesystem API takes an arbitrary Path as an argument. Hence, also for the filesystem root the following is a valid method call:
Although the above will likely throw an exception, it should be an
IOException
. Currently, aNullPointerException
is thrown, caused bycryptofs/src/main/java/org/cryptomator/cryptofs/CryptoFileSystemImpl.java
Lines 630 to 635 in 59a8ec2
We need some null-check for
Path::getFileName
. Additionally, we should check which other methods choke on the root path.The text was updated successfully, but these errors were encountered: