Ticket #507 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Exception importing 16-bit indexed color data

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

Description

E.g., with "index16&pixelType=uint16&indexed=true.fake":

java.lang.ArrayIndexOutOfBoundsException: -3201
	at loci.formats.ImageTools.indexedToRGB(ImageTools.java:554)
	at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:186)
	at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:150)
	at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:180)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:304)
	at loci.formats.DimensionSwapper.openBytes(DimensionSwapper.java:249)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:304)
	at loci.formats.MinMaxCalculator.openBytes(MinMaxCalculator.java:260)
	at loci.formats.MinMaxCalculator.openBytes(MinMaxCalculator.java:252)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:292)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:292)
	at loci.plugins.util.ImageProcessorReader.openProcessors(ImageProcessorReader.java:107)
	at loci.plugins.in.ImagePlusReader.readSeries(ImagePlusReader.java:240)
	at loci.plugins.in.ImagePlusReader.readImages(ImagePlusReader.java:155)
	at loci.plugins.in.ImagePlusReader.openImagePlus(ImagePlusReader.java:110)
	at loci.plugins.in.Importer.readPixels(Importer.java:134)
	at loci.plugins.in.Importer.run(Importer.java:87)
	at loci.plugins.LociImporter.run(LociImporter.java:77)

Change History

comment:1 Changed 9 years ago by curtis

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

Fixed in r6556.

Note: See TracTickets for help on using tickets.