Skip to content

Exporting to MaMut file fails when there isn't an image. #367

@odinsbane

Description

@odinsbane

When I create an project from an open imagej window, then I go to export the tracks to a MaMut file I get the following error.

java.io.FileNotFoundException: C:\Users\Username\tools\fiji\Fiji.app\Untitled (The system cannot find the file specified)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:213)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:152)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:84)
        at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:180)
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
        at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:217)
        at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:329)
        at org.jdom2.input.SAXBuilder.build(SAXBuilder.java:1254)
        at org.mastodon.mamut.io.importer.trackmate.MamutExporter.getSAXParsedDocument(MamutExporter.java:645)

There is a warning when creating the project, about the image not being found on disk. Is there a way to fix my project, so that I can export to a MaMut file, or do I need to start from an image on disk.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions