Task #12536 (closed)
Opened 5 years ago
Closed 5 years ago
Bug: ND2Reader triggers NumberFormatException
| Reported by: | omero-qa | Owned by: | mlinkert |
|---|---|---|---|
| Priority: | minor | Milestone: | 5.0.4 |
| Component: | Bio-Formats | Version: | 5.0.3 |
| Keywords: | n.a. | Cc: | zebabw@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description (last modified by rleigh)
Sample image in: https://www.openmicroscopy.org/qa2/qa2/qa/feedback/9463/
Confirmed with current dev_5_0 and develop. The string passed to
trueSizeZ = Double.parseDouble(DataTools.sanitizeDouble(value));
is empty.
Exception in thread "main" java.lang.NumberFormatException: empty String
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1020)
at java.lang.Double.parseDouble(Double.java:540)
at loci.formats.in.NativeND2Reader.parseText(NativeND2Reader.java:2048)
at loci.formats.in.NativeND2Reader.initFile(NativeND2Reader.java:718)
at loci.formats.FormatReader.setId(FormatReader.java:1317)
at loci.formats.DelegateReader.setId(DelegateReader.java:253)
at loci.formats.ImageReader.setId(ImageReader.java:753)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:569)
at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:992)
at loci.formats.tools.ImageInfo.main(ImageInfo.java:1074)
Change History (3)
comment:1 Changed 5 years ago by rleigh
- Cc zebabw@… added
- Component changed from from QA to Bio-Formats
- Description modified (diff)
- Milestone changed from Unscheduled to 5.1.0
comment:2 Changed 5 years ago by mlinkert
- Milestone changed from 5.1.0 to 5.0.4
comment:3 Changed 5 years ago by mlinkert
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
PR opened for 5.0.4: https://github.com/openmicroscopy/bioformats/pull/1291