<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - "Profile Plot Options..." exception via macro/batch mode"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=752">752</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"Profile Plot Options..." exception via macro/batch mode
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Fiji
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P3
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ImageJ2
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>imagej-devel@imagej.net
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bryancallahan@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=151" name="attach_151" title="Macro Log">attachment 151</a> <a href="attachment.cgi?id=151&action=edit" title="Macro Log">[details]</a></span>
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)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>