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 #583 (closed defect: fixed)

Opened 2010-10-19T04:24:12-05:00

Last modified 2010-10-19T14:46:49-05:00

DeltaVision OMX read error

Reported by: callan Owned by: melissa
Priority: major Milestone: bio-formats-4.2.1
Component: bio-formats Severity: serious
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by melissa)

 http://qa.openmicroscopy.org.uk/qa/feedback/2892/

java.lang.IllegalArgumentException
	at java.nio.Buffer.position(Unknown Source)
	at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:485)
	at loci.common.NIOFileHandle.seek(NIOFileHandle.java:204)
	at loci.common.RandomAccessInputStream.seek(RandomAccessInputStream.java:91)
	at loci.formats.in.DeltavisionReader.openBytes(DeltavisionReader.java:150)
	at loci.formats.ImageReader.openBytes(ImageReader.java:384)
	at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:183)
	at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:209)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:304)
	at loci.formats.MinMaxCalculator.openBytes(MinMaxCalculator.java:260)
	at ome.formats.importer.OMEROWrapper.openPlane2D(OMEROWrapper.java:164)
	at ome.formats.importer.OMEROWrapper.openPlane2D(OMEROWrapper.java:130)
	at ome.formats.importer.ImportLibrary.writeDataPlanarBased(ImportLibrary.java:818)
	at ome.formats.importer.ImportLibrary.importData(ImportLibrary.java:700)
	at ome.formats.importer.ImportLibrary.importImage(ImportLibrary.java:527)
	at ome.formats.importer.ImportLibrary.importImage(ImportLibrary.java:384)
	at ome.formats.importer.gui.ImportHandler.importImages(ImportHandler.java:215)
	at ome.formats.importer.gui.ImportHandler.access$100(ImportHandler.java:59)
	at ome.formats.importer.gui.ImportHandler$2.run(ImportHandler.java:134)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Change History

comment:1 Changed 2010-10-19T11:03:52-05:00 by melissa

  • Description modified

comment:2 Changed 2010-10-19T14:46:49-05:00 by melissa

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

(In [7091]) * Attempt to gracefully handle truncated Deltavision files. See QA #2892, closes #583.

  • Minor refactoring, so that I didn't have to make the above fix in two places.