BIOP / ijp-operetta-importer

PerkinElmer Operetta Importer using BioFormats!
GNU General Public License v3.0
8 stars 3 forks source link

Null Pointer Exception with focus missed #24

Closed NicoKiaru closed 1 year ago

NicoKiaru commented 1 year ago

When fusing fields in the exporter, and a field has failed, onw can get such an error:

Exception in thread "Thread-10" java.util.NoSuchElementException: No value present
    at java.util.Optional.get(Optional.java:135)
    at ch.epfl.biop.operetta.OperettaManager.getTopLeftCoordinatesUm(OperettaManager.java:1196)
    at ch.epfl.biop.operetta.OperettaManager.makeImagePlus(OperettaManager.java:1033)
    at ch.epfl.biop.operetta.OperettaManager.getFieldImage(OperettaManager.java:493)
    at ch.epfl.biop.operetta.OperettaManager.process(OperettaManager.java:797)
    at ch.epfl.biop.operetta.commands.OperettaImporterInteractive.lambda$doProcess$5(OperettaImporterInteractive.java:393)
    at java.lang.Thread.run(Thread.java:748)

To test this behaviour, see Shannon dataset in (internal BIOP) (N:\public\shannon.david_LCE\Shannon\2023-02-14__2023-02-14T14_49_50-Measurement 1\Images\flatfield)