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

Opened 14 years ago

Closed 14 years ago

Bug: Channel.emWave==0 check missing

Reported by: jamoore Owned by: cxallan
Priority: critical Milestone: OMERO-Beta4.2.1
Component: Import Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-09-09 (16)

Description (last modified by jmoore)

From Melissa:

For the emWave, Channel.EmissionWavelength == 0, which is not
allowed under the current 2010-06 schema (as EmissionWavelength has 
type PositiveInteger).  I guess it would be a matter of adding a 
check to OmeroMetadata.getChannelEmissionWavelength that ignores 
wavelengths that are <= 0, instead of trying to wrap them in a 
PositiveInteger.

seen as:

2010-08-31 16:13:16,812 ERROR [       ome.services.blitz.impl.ExporterI] (l.Server-3) Error closing writer
java.lang.IllegalArgumentException: 0 must not be null and positive.
       at ome.xml.model.primitives.PositiveInteger.<init>(PositiveInteger.java:41)
       at ome.services.blitz.impl.OmeroMetadata.getChannelEmissionWavelength(OmeroMetadata.java:659)
       at loci.formats.meta.MetadataConverter.convertMetadata(MetadataConverter.java:423)
       at loci.formats.services.OMEXMLServiceImpl.convertMetadata(OMEXMLServiceImpl.java:420)
       at loci.formats.services.OMEXMLServiceImpl.getOMEMetadata(OMEXMLServiceImpl.java:281)
       at loci.formats.out.OMETiffWriter.close(OMETiffWriter.java:106)
       at loci.formats.ImageWriter.close(ImageWriter.java:408)
       at ome.services.blitz.impl.ExporterI$2.cleanup(ExporterI.java:392)
       at ome.services.blitz.impl.ExporterI$2.doWork(ExporterI.java:368)

Change History (5)

comment:1 Changed 14 years ago by jmoore

  • Description modified (diff)

comment:2 Changed 14 years ago by cxallan

  • Priority changed from minor to critical

comment:3 Changed 14 years ago by atarkowska

  • Sprint set to 2010-09-09 (16)

comment:4 Changed 14 years ago by cxallan

  • Owner set to cxallan
  • Remaining Time set to 0.5
  • Status changed from new to assigned

comment:5 Changed 14 years ago by cxallan

  • Remaining Time changed from 0.5 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [8171]) Solution to type value mismatches between the OME-XML data model and the OMERO PostgreSQL storage model during export. (Fixes #2765)

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

We're Hiring!