Exception opening LIF-files Case Closed
Posted by
Christian Goosmann-2 on
May 15, 2018; 12:07pm
URL: http://imagej.273.s1.nabble.com/Exception-opening-LIF-files-tp5020662p5020670.html
Thanks to Curtis, who gave me a hint. The problem was in the regional
settings of the OS (Win 7). Although it was set to 'English (US)' there
was an additional setting change that set the decimal separator back to
comma. This led to LIF files that bio formats could not open.
---
Christian Goosmann
Mikroskopie
Max-Planck-Institut für Infektionsbiologie
Campus Charité Mitte
Charitéplatz 1
10117 Berlin
Tel.: +49 30 28460 388
On 14.05.2018 13:01, Christian Goosmann wrote:
> Dear list
>
> I have a problem with LIF-files from a Leica confocal. These file open
> without a problem on different machines running the Leica software in
> different versions.
> In Fiji, using Bioformats, however they always throw an exception with
> this message. Saving them with the Leica software of an older version
> doesn't help.
>
> '(Fiji Is Just) ImageJ 2.0.0-rc-65/1.52a; Java 1.8.0_66 [64-bit];
> Windows 7 6.1; 44MB of 12163MB (<1%)
>
> java.lang.NumberFormatException: For input string: "4,99907766094816"
> at
> sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
> at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
> at java.lang.Double.parseDouble(Double.java:538)
> at java.lang.Double.<init>(Double.java:608)
> at
> loci.formats.in.LIFReader.translateLaserLines(LIFReader.java:1603)
> at loci.formats.in.LIFReader.translateMetadata(LIFReader.java:1192)
> at loci.formats.in.LIFReader.initMetadata(LIFReader.java:606)
> at loci.formats.in.LIFReader.initFile(LIFReader.java:549)
> at loci.formats.FormatReader.setId(FormatReader.java:1397)
> at
> loci.plugins.in.ImportProcess.initializeFile(ImportProcess.java:499)
> at loci.plugins.in.ImportProcess.execute(ImportProcess.java:142)
> at loci.plugins.in.Importer.showDialogs(Importer.java:140)
> at loci.plugins.in.Importer.run(Importer.java:76)
> at loci.plugins.LociImporter.run(LociImporter.java:78)
> at ij.IJ.runUserPlugIn(IJ.java:221)
> at ij.IJ.runPlugIn(IJ.java:185)
> at ij.Executer.runCommand(Executer.java:137)
> at ij.Executer.run(Executer.java:66)
> at java.lang.Thread.run(Thread.java:745) '
>
> I have tried this with different older Fiji versions e.g. running
> Java 6 instead of 8 but no luck. Has any one come across this problem
> or got a cure? Thank you.
>
>
> Christian
>
> I have a 3 MB lif that produces the exception here but the list will
> only accept messages without attachments.
>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html