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

If a directory's name matches the file filter criterion a FileNotFoundException is thrown #32

Open
draeger opened this issue Jul 3, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@draeger
Copy link
Member

draeger commented Jul 3, 2018

If folders cannot be opened, make sure your application does not allow users to do so.

bash-3.2$ java -jar target/jfx/app/sbtab-0.1.1-jfx.jar 
new
-- listing properties --
FilePath=/Users/draeger
objc[65610]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffb3eedc90) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x1351d0cd8). One of the two will be used. Which one is undefined.
java.io.FileNotFoundException: /Users/draeger/test/RECON1_squeezed.xml (Is a directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at org.sbml.jsbml.xml.stax.SBMLReader.readSBML(SBMLReader.java:295)
        at org.sbml.jsbml.SBMLReader.readSBML(SBMLReader.java:119)
        at org.sbml.jsbml.SBMLReader.read(SBMLReader.java:108)
        at org.sbml.jsbml.SBMLReader.read(SBMLReader.java:95)
        at de.sbtab.controller.SBTabController$2.call(SBTabController.java:103)
        at de.sbtab.controller.SBTabController$2.call(SBTabController.java:98)
        at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.lang.Thread.run(Thread.java:745)
@draeger draeger added the bug Something isn't working label Jul 3, 2018
JuliWanner added a commit that referenced this issue Jul 7, 2018
I'm not sure if this solve the bug you observed, in my case, i was not able to open directories. Could you elaborate how you caused this bug?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants