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 #7331 (closed)

Opened 12 years ago

Closed 12 years ago

Bug: Issue parsing MRC metadata when physical dimensions are computed as zero

Reported by: cxallan Owned by: cxallan
Priority: critical Milestone: OMERO-4.4
Component: Bio-Formats Version: n.a.
Keywords: n.a. Cc: mlinkert
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-11-29 (3)

Description

When MRC physical dimensions are computed as being of zero across either X, Y or Z an exception is thrown:

Exception in thread "main" java.lang.IllegalArgumentException: 0.0 must not be null and positive.
	at ome.xml.model.primitives.PositiveFloat.<init>(PositiveFloat.java:41)
	at loci.formats.in.MRCReader.initFile(MRCReader.java:286)
	at loci.formats.FormatReader.setId(FormatReader.java:1080)
	at loci.formats.ImageReader.setId(ImageReader.java:682)
	at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:492)
	at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:956)
	at loci.formats.tools.ImageInfo.main(ImageInfo.java:989)

Change History (3)

comment:1 Changed 12 years ago by cxallan

  • Status changed from new to accepted

comment:2 Changed 12 years ago by cxallan

  • Owner changed from mlinkert-x to cxallan

comment:3 Changed 12 years ago by cxallan

  • Cc mlinkert-x added
  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

Code for review on my Github branch:

https://github.com/chris-allan/bioformats/tree/bug/7331

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.70481 sec.)

We're Hiring!