Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #12598 (closed)

Opened 10 years ago

Closed 9 years ago

Bug: GatanReader/DM3 initFile negative array index

Reported by: omero-qa Owned by: mlinkert
Priority: major Milestone: 5.1.1
Component: Bio-Formats Version: 5.0.5
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

http://qa.openmicroscopy.org.uk/qa/feedback/10298/

% showinf 10298/MoS2Lamella1_0005.dm3 
Checking file format [Gatan Digital Micrograph]
Initializing reader
GatanReader initializing 10298/MoS2Lamella1_0005.dm3
Verifying Gatan format
Reading tags
Populating metadata
Not adjusting for unknown units: 
Unknown Correction value 'Unknown' will be stored as "Other"
Unknown Immersion value 'Unknown' will be stored as "Other"
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1911)
        at loci.formats.in.GatanReader.initFile(GatanReader.java:287)
        at loci.formats.FormatReader.setId(FormatReader.java:1321)
        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)

All of the images result in the same exception.

Change History (3)

comment:1 Changed 10 years ago by rleigh

  • Component changed from from QA to Bio-Formats
  • Priority changed from minor to major

comment:2 Changed 9 years ago by mlinkert

  • Milestone changed from Unscheduled to 5.1.1

Moving to 5.1.1 for triage.

comment:3 Changed 9 years ago by jburel

  • Resolution set to fixed
  • Status changed from new to closed

The problem has been fixed
The 3 files submitted now opened w/o any problems.
Closing

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65771 sec.)

We're Hiring!