showinf on vsi gives IllegalArgumentException
Posted: Fri Nov 09, 2012 12:15 am
I am having a problem with some vsi files that I just received. I am using showinf from bftools.zip downloaded from the website and loci_tools.jar 4.4.4 (I have tried the stable, trunk and daily builds).
If I do the following:
showinf -nopix my.vsi
I get:
Checking file format [CellSens VSI]
Initializing reader
Exception in thread "main" java.lang.IllegalArgumentException
at java.nio.Buffer.position(Buffer.java:216)
at ome.scifio.io.NIOFileHandle.buffer(NIOFileHandle.java:538)
at ome.scifio.io.NIOFileHandle.seek(NIOFileHandle.java:257)
at ome.scifio.io.RandomAccessInputStream.seek(RandomAccessInputStream.java:143)
at loci.common.RandomAccessInputStream.seek(RandomAccessInputStream.java:108)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:785)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.initFile(CellSensReader.java:355)
at loci.formats.FormatReader.setId(FormatReader.java:1178)
at loci.formats.ImageReader.setId(ImageReader.java:729)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:530)
at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:1003)
at loci.formats.tools.ImageInfo.main(ImageInfo.java:1048)
Any idea how I can resolve this problem?
If I do the following:
showinf -nopix my.vsi
I get:
Checking file format [CellSens VSI]
Initializing reader
Exception in thread "main" java.lang.IllegalArgumentException
at java.nio.Buffer.position(Buffer.java:216)
at ome.scifio.io.NIOFileHandle.buffer(NIOFileHandle.java:538)
at ome.scifio.io.NIOFileHandle.seek(NIOFileHandle.java:257)
at ome.scifio.io.RandomAccessInputStream.seek(RandomAccessInputStream.java:143)
at loci.common.RandomAccessInputStream.seek(RandomAccessInputStream.java:108)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:785)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.readTags(CellSensReader.java:826)
at loci.formats.in.CellSensReader.initFile(CellSensReader.java:355)
at loci.formats.FormatReader.setId(FormatReader.java:1178)
at loci.formats.ImageReader.setId(ImageReader.java:729)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:530)
at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:1003)
at loci.formats.tools.ImageInfo.main(ImageInfo.java:1048)
Any idea how I can resolve this problem?