[ImageJ-devel] [Bug 752] New: "Profile Plot Options..." exception via macro/batch mode
bugzilla at fiji.sc
bugzilla at fiji.sc
Fri May 23 00:15:09 CDT 2014
http://fiji.sc/bugzilla/show_bug.cgi?id=752
Bug ID: 752
Summary: "Profile Plot Options..." exception via macro/batch
mode
Product: Fiji
Version: unspecified
Hardware: PC
OS: Mac OS
Status: NEW
Severity: major
Priority: P3
Component: ImageJ2
Assignee: imagej-devel at imagej.net
Reporter: bryancallahan at gmail.com
Created attachment 151
--> http://fiji.sc/bugzilla/attachment.cgi?id=151&action=edit
Macro Log
When running "Profile Plot Options" via macro...
run("Profile Plot Options...", "width=450 height=200 minimum=0 maximum=0
interpolate");
...the following exception appears consistently across all platforms/builds in
headless mode. Any input or help would be /greatly/ appreciated.
java.lang.IllegalArgumentException: Width (-62) and height (-245) must be > 0
at java.awt.image.SampleModel.<init>(SampleModel.java:108)
at
java.awt.image.ComponentSampleModel.<init>(ComponentSampleModel.java:128)
at
java.awt.image.PixelInterleavedSampleModel.<init>(PixelInterleavedSampleModel.java:69)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:638)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:265)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:194)
at
java.awt.image.ComponentColorModel.createCompatibleWritableRaster(ComponentColorModel.java:2808)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:409)
at ij.plugin.JpegWriter.saveAsJpeg(JpegWriter.java:40)
at ij.plugin.JpegWriter.save(JpegWriter.java:28)
at ij.io.FileSaver.saveAsJpeg(FileSaver.java:355)
at ij.io.FileSaver.saveAsJpeg(FileSaver.java:347)
at ij.plugin.filter.Writer.run(Writer.java:24)
at
ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:262)
at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:111)
at ij.IJ.runPlugIn(IJ.java:171)
at ij.Executer.runCommand(Executer.java:131)
at ij.Executer.run(Executer.java:64)
at ij.IJ.run(IJ.java:269)
at ij.IJ.run(IJ.java:323)
at ij.IJ.saveAs(IJ.java:1722)
at ij.IJ.saveAs(IJ.java:1654)
at ij.macro.Functions.saveAs(Functions.java:2846)
at ij.macro.Functions.doFunction(Functions.java:155)
at ij.macro.Interpreter.doStatement(Interpreter.java:226)
at ij.macro.Interpreter.doStatements(Interpreter.java:214)
at ij.macro.Interpreter.run(Interpreter.java:111)
at ij.macro.Interpreter.run(Interpreter.java:81)
at ij.macro.Interpreter.run(Interpreter.java:92)
at ij.plugin.Macro_Runner.runMacro(Macro_Runner.java:153)
at ij.plugin.Macro_Runner.runMacroFile(Macro_Runner.java:137)
at ij.IJ.runMacroFile(IJ.java:130)
at ij.ImageJ.main(ImageJ.java:678)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at imagej.patcher.LegacyEnvironment.main(LegacyEnvironment.java:374)
at fiji.Main.main(Main.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at imagej.ClassLauncher.launch(ClassLauncher.java:222)
at imagej.ClassLauncher.run(ClassLauncher.java:159)
at imagej.ClassLauncher.main(ClassLauncher.java:72)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140523/e59e56ee/attachment.html>
More information about the ImageJ-devel
mailing list