<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 - *Image > Overlay > Flatten* fails in Composite Mode"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=912">912</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>*Image > Overlay > Flatten* fails in Composite Mode
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P4
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Plugins
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>jan.eglinger@uni-duesseldorf.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jan.eglinger@uni-duesseldorf.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Running the following macro:

run("Fluorescent Cells (400K)");
run("Flatten");

will throw the exception pasted below. The exception is thrown only if the
current image is in *Composite* mode, and independent of an overlay or ROI
being displayed.

********************
(Fiji Is Just) ImageJ 2.0.0-rc-14/1.49f; Java 1.6.0_65 [64-bit]; Mac OS X
10.9.4; 26MB of 4491MB (<1%)

java.lang.IllegalArgumentException: DirectColorModel required
    at ij.process.ColorProcessor.setColorModel(ColorProcessor.java:101)
    at ij.process.ImageProcessor.setLut(ImageProcessor.java:184)
    at ij.CompositeImage.setup(CompositeImage.java:131)
    at ij.CompositeImage.reset(CompositeImage.java:527)
    at ij.ImagePlus.setStack(ImagePlus.java:672)
    at ij.ImagePlus.setImage(ImagePlus.java:521)
    at
ij.plugin.RGBStackConverter.compositeImageToRGB(RGBStackConverter.java:176)
    at ij.plugin.RGBStackConverter.compositeToRGB(RGBStackConverter.java:76)
    at ij.plugin.RGBStackConverter.run(RGBStackConverter.java:38)
    at ij.plugin.RGBStackConverter.convertToRGB(RGBStackConverter.java:63)
    at ij.process.StackConverter.convertToRGB(StackConverter.java:171)
    at ij.process.ImageConverter.convertToRGB(ImageConverter.java:85)
    at ij.ImagePlus.flattenStack(ImagePlus.java:2420)
    at ij.plugin.OverlayCommands.flattenStack(OverlayCommands.java:276)
    at ij.plugin.OverlayCommands.flatten(OverlayCommands.java:261)
    at ij.plugin.OverlayCommands.run(OverlayCommands.java:34)
    at ij.IJ.runPlugIn(IJ.java:172)
    at ij.Executer.runCommand(Executer.java:131)
    at ij.Executer.run(Executer.java:61)
    at java.lang.Thread.run(Thread.java:695)
********************

Information about your version of Java:

  os.arch => x86_64
  os.name => Mac OS X
  os.version => 10.9.4
  java.version => 1.6.0_65
  java.vendor => Apple Inc.
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.6.0_65-b14-462-11M4609
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 20.65-b04-462
  java.vm.vendor => Apple Inc.
  java.vm.info => mixed mode
  java.awt.graphicsenv => apple.awt.CGraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.6
  sun.cpu.endian => little
  sun.desktop => null
  file.separator => /

The up-to-date check says: REMIND_LATER

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: null
  imagej.dir => /Users/eglinger/Fiji-debug/Fiji.app

Information about the version of each plugin:

Activated update sites:
ImageJ: <a href="http://update.imagej.net/">http://update.imagej.net/</a> (last check:20140822175924)
Fiji: <a href="http://fiji.sc/update/">http://fiji.sc/update/</a> (last check:20140821133247)</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>