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
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
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.