NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #461 (closed defect: fixed)

Opened 2011-04-28T16:07:05-05:00

Last modified 2011-04-28T17:48:39-05:00

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 2011-04-28T17:48:39-05:00 by bdezonia

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

GrayscaleImageTranslator::isFloating() was incorrect. Fixed.