Calibration bar is not working anymore in 1.38j on mac
Posted by Elena Kardash on Apr 03, 2007; 3:49pm
URL: http://imagej.273.s1.nabble.com/COLOR-INSPECTOR-3D-tp3699869p3699871.html
Dear List,
Please help! Despite the numerous improvements in he new version
1.38j (for Mac OX) unexpectedly there was a problem with the
calibration bar. I run it on Mac (MacBook Intel). Maybe something was
wrong with the upgrading? Any advise is very welcome! thanks,
Elena
Problem description: When trying to use the calibration bar, the
following message appears :
java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0
at java.awt.image.SampleModel.<init>(SampleModel.java:108)
at java.awt.image.SinglePixelPackedSampleModel.<init>
(SinglePixelPackedSampleModel.java:124)
at java.awt.image.SinglePixelPackedSampleModel.<init>
(SinglePixelPackedSampleModel.java:91)
at
java.awt.image.SinglePixelPackedSampleModel.createCompatibleSampleModel(
SinglePixelPackedSampleModel.java:197)
at ij.process.ColorProcessor.getRGBSampleModel(ColorProcessor.java:93)
at ij.process.ColorProcessor.createBufferedImage(ColorProcessor.java:
79)
at ij.process.ColorProcessor.createImage(ColorProcessor.java:63)
at ij.process.ImageProcessor.drawString2(ImageProcessor.java:919)
at ij.process.ImageProcessor.drawString(ImageProcessor.java:886)
at ij.process.ImageProcessor.drawString(ImageProcessor.java:959)
at ij.plugin.filter.CalibrationBar.drawText(CalibrationBar.java:300)
at ij.plugin.filter.CalibrationBar.drawColorBar(CalibrationBar.java:
233)
at ij.plugin.filter.CalibrationBar.drawColorBar(CalibrationBar.java:
372)
at ij.plugin.filter.CalibrationBar.updateColorBar
(CalibrationBar.java:129)
at ij.plugin.filter.CalibrationBar.run(CalibrationBar.java:108)
at ij.IJ.runFilterPlugIn(IJ.java:204)
at ij.IJ.runPlugIn(IJ.java:132)
at ij.Executer.runCommand(Executer.java:95)
at ij.Executer.run(Executer.java:49)
at ij.plugin.Hotkeys.run(Hotkeys.java:23)
at ij.IJ.runPlugIn(IJ.java:130)
at ij.Executer.runCommand(Executer.java:95)
at ij.Executer.run(Executer.java:49)
at java.lang.Thread.run(Thread.java:613)