Skip to content

Ij.io().open() raises java.lang.NullPointerException  #285

Open
@biosciflo

Description

@biosciflo

I don't know if this was fix or not but i ran into the same problem for some images like they describe it here (https://forum.image.sc/t/ij-io-open-raises-java-lang-nullpointerexception/72625)

But its a bit more frustrating for me i have two images in the same location imageA.lsm works fine, but imageB.lsm raises the exception (java.lang.NullPointerException: Cannot invoke "org.scijava.io.location.Location.getName()" because "loc" is null), and when i copy it into the fiji folder than it works. But this is only when I test it on a different windows machine, on my own both images work just fine.

The problem is i want to distribute the program as an standalone (via pyinstaller) and that works just fine on my machine but on others i get these inconsistent problems which is very hard to find out and fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions