We're Hiring!

showinf on vsi gives IllegalArgumentException

Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats
Please note:
Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats

If you are having trouble with image files, there is information about reporting bugs in the Bio-Formats documentation. Please send us the data and let us know what version of Bio-Formats you are using. For issues with your code, please provide a link to a public repository, ideally GitHub.

showinf on vsi gives IllegalArgumentException

Postby jrowell » 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?
jrowell
 
Posts: 2
Joined: Fri Nov 09, 2012 12:08 am

Re: showinf on vsi gives IllegalArgumentException

Postby cxallan » Mon Nov 12, 2012 9:38 am

We'd love to help but to do so we really need the data.

You should be able to upload the file to OMERO.qa:

https://www.openmicroscopy.org/qa2/qa/upload/

We will send alternate instructions in a private message in case that does not work.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: showinf on vsi gives IllegalArgumentException

Postby jrowell » Mon Nov 12, 2012 2:16 pm

Thank you for the reply. I tried to use the upload tool to post my image but it doesn't look like vsi is an accepted file format. Please PM me with instructions on how I can get the data to you.
jrowell
 
Posts: 2
Joined: Fri Nov 09, 2012 12:08 am


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: No registered users and 1 guest