bioformats icon indicating copy to clipboard operation
bioformats copied to clipboard

LIF reader Illegal argument exception

Open jburel opened this issue 2 years ago • 5 comments

stacktrace=java.lang.IllegalArgumentException
	at java.nio.Buffer.position(Buffer.java:244)
	at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
	at loci.common.NIOFileHandle.skipBytes(NIOFileHandle.java:494)
	at loci.common.NIOFileHandle.skipBytes(NIOFileHandle.java:482)
	at loci.common.RandomAccessInputStream.skipBytes(RandomAccessInputStream.java:670)

Error using bf 6.3.1 https://www.openmicroscopy.org/qa2/qa/feedback/33438/

Close if no longer relevant

jburel avatar Jun 29 '23 13:06 jburel

I can't log in to QA - was there more to the stack trace? In particular, we'd need to know the line number in the reader that this skipBytes call is coming from. Also don't see an uploaded file for 33438, so even with more context it may be difficult to say for sure if this was fixed.

melissalinkert avatar Jun 29 '23 19:06 melissalinkert

stacktrace=java.lang.IllegalArgumentException
	at java.nio.Buffer.position(Buffer.java:244)
	at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
	at loci.common.NIOFileHandle.skipBytes(NIOFileHandle.java:494)
	at loci.common.NIOFileHandle.skipBytes(NIOFileHandle.java:482)
	at loci.common.RandomAccessInputStream.skipBytes(RandomAccessInputStream.java:670)
	at loci.formats.in.LIFReader.openBytes(LIFReader.java:352)
	at loci.formats.ImageReader.openBytes(ImageReader.java:461)
	at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:156)
	at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:229)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:348)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:348)
	at loci.formats.MinMaxCalculator.openBytes(MinMaxCalculator.java:269)
	at ome.services.blitz.repo.ManagedImportRequestI.parseDataByPlane(ManagedImportRequestI.java:872)
	at 

jburel avatar Jun 29 '23 19:06 jburel

no file associated unfortunately

jburel avatar Jun 29 '23 19:06 jburel

Another similar one QA 41692.

dominikl avatar Jun 06 '24 09:06 dominikl

@dominikl : I can't log in to QA, it looks like as with the previous QA report there is no file. Which version was QA 41692 reported against?

melissalinkert avatar Jun 07 '24 17:06 melissalinkert