<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 - Macro stops running when no object found 3D object Count"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1175">1175</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Macro stops running when no object found 3D object Count
          </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>yannick.devaud@usz.ch
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>yannick.devaud@usz.ch
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello,
I am running imageJ 2. I want to count objects in a stack. For this I use 3D
cell count. It works well when running from the plugin tool, even when there is
no object found. In this case it just writes in the Log window that 0 objects
were found.
Now I want to make a macro since I have lots of images to analyze. When the 3D
objects counter finds objects, everything works fine. However, when no object
is found in my stack, a dialogue box pops up saying "No object found" and the
macro stopps.
I wonder why this message doesn't appear when I run it manually on one stack
but only when I run my macro? And it is annoying since the macro stops, which I
don't want.

thanks for the help!!

Information about your version of Java:

  os.arch => x86_64
  os.name => Mac OS X
  os.version => 10.9.5
  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:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/
  imagej.dir => /Applications/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:20150915154157)
Fiji: <a href="http://update.fiji.sc/">http://update.fiji.sc/</a> (last check:20151013215820)</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>