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"

Bug #574 (closed)

Opened 13 years ago

Closed 13 years ago

ClassCastException in TinyImportFixture

Reported by: cxallan Owned by: cxallan
Priority: minor Cc: jamoore, bwzloranger
Sprint: n.a.
Total Remaining Time: n.a.

Description

Running the integration tests using the TinyImportFixture? fails with the following exception:

Exception in thread "main" java.lang.RuntimeException: java.lang.ClassCastException: loci.formats.ImageReader
        at SampleData.<init>(Unknown Source)
        at SDK.main(Unknown Source)
Caused by: java.lang.ClassCastException: loci.formats.ImageReader
        at ome.formats.importer.ImportLibrary.importData(ImportLibrary.java:251)
        at ome.formats.importer.ImportFixture.doImport(ImportFixture.java:139)
        at ome.formats.importer.ImportFixture.doImport(ImportFixture.java:152)
        ... 2 more

Change History (1)

comment:1 Changed 13 years ago by cxallan

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

r1197 includes a fix. In short, the API of the import library now expects a sub-class of "ReaderWrapper?" to be passed in. The interface and relevant code should change, but for now we'll just use the ChannelSeparator? in the TinyImportFixture? to fix the problem.

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

We're Hiring!