Ticket #461 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Opening sample image M51 galaxy throws an exception

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej-2.0-alpha2
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Cannot sucessfully open M51 galaxy sample image. The following exception is reported and nothing gets displayed.

Exception in thread "PluginRunner-imagej.legacy.plugin.LegacyPlugin" java.lang.IllegalArgumentException: Invalid parameters: bitsPerPixel=16, signed=false, floating=true

at imagej.data.Dataset.invalidParams(Dataset.java:462)
at imagej.data.Dataset.create(Dataset.java:417)
at imagej.legacy.GrayscaleImageTranslator.createDataset(GrayscaleImageTranslator.java:69)
at imagej.legacy.DefaultImageTranslator.createDataset(DefaultImageTranslator.java:57)
at imagej.legacy.LegacyImageMap.registerLegacyImage(LegacyImageMap.java:66)
at imagej.legacy.LegacyManager.legacyImageChanged(LegacyManager.java:103)
at imagej.legacy.patches.ImageWindowMethods.setVisible(ImageWindowMethods.java:58)
at imagej.legacy.patches.ImageWindowMethods.show(ImageWindowMethods.java:63)
at ij.gui.ImageWindow.show(ImageWindow.java)
at ij.gui.ImageWindow.<init>(ImageWindow.java:127)
at ij.gui.ImageWindow.<init>(ImageWindow.java:57)
at ij.ImagePlus.show(ImagePlus.java:367)
at ij.ImagePlus.show(ImagePlus.java:343)
at ij.plugin.URLOpener.run(URLOpener.java:50)
at ij.IJ.runPlugIn(IJ.java:156)
at ij.IJ.runPlugIn(IJ.java:139)
at imagej.legacy.plugin.LegacyPlugin.run(LegacyPlugin.java:67)
at imagej.plugin.PluginRunner.run(PluginRunner.java:81)
at imagej.plugin.PluginManager$1.run(PluginManager.java:128)
at java.lang.Thread.run(Thread.java:680)

Change History

comment:1 Changed 9 years ago by bdezonia

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

GrayscaleImageTranslator::isFloating() was incorrect. Fixed.

Note: See TracTickets for help on using tickets.