Skip to content

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

Description

@draeger

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions