Ticket #583 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

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) (diff)

 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 9 years ago by melissa

  • Description modified (diff)

comment:2 Changed 9 years ago 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.
Note: See TracTickets for help on using tickets.