NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #247 (closed defect: fixed)

Opened 2008-02-20T15:38:29-06:00

Last modified 2008-02-21T07:48:34-06:00

Sequential setId calls with SVSReader can throw an exception

Reported by: curtis Owned by: melissa
Priority: critical Milestone:
Component: bio-formats Severity: critical
Keywords: Cc:
Blocked By: Blocking:


When calling setId iteratively on multiple SVS files, an IllegalArgumentException can be thrown:

curtis@monk:~$ java SequentialTest data/svs/samples/BreastCancer.svs data/svs/samples/Mammal\ Eye_001.svs 
Exception in thread "main" java.lang.IllegalArgumentException: Invalid series: 1
        at loci.formats.FormatReader.setSeries(
        at loci.formats.ImageReader.setSeries(
        at loci.formats.FileStitcher.initFile(
        at loci.formats.FileStitcher.setId(
        at SequentialTest.main(

See the attached sample program.

Attachments (229 bytes) - added by curtis 2008-02-20T15:38:52-06:00.
Program for calling setId sequentially on the same format reader.

Change History

Changed 2008-02-20T15:38:52-06:00 by curtis

Program for calling setId sequentially on the same format reader.

comment:1 Changed 2008-02-21T07:48:34-06:00 by melissa

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