Skip to content

Exception thrown when jME application is executed from SMB share #317

@shadowislord

Description

@shadowislord
java.lang.IllegalArgumentException: URI has an authority component
    at java.io.File.(File.java:423)
    at com.jme3.asset.plugins.ClasspathLocator.locate(ClasspathLocator.java:88)

When running from a path like \\abc\def\, jME3 crashes in ClasspathLoader:
at String path = new File(url.toURI()).getCanonicalPath();

Creating a File object from an SMB path isn't supported by Java (?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Contribution welcomebugSomething that is supposed to work, but doesn't. More severe than a "defect".

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions