<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 - Out of bounds java exception when limit to threshold is activated and measuring a region out of the threshold limits in 16 bits iamges (previous FIJI versions do not have this bug)"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1037">1037</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Out of bounds java exception when limit to threshold is activated and measuring a region out of the threshold limits in 16 bits iamges (previous FIJI versions do not have this bug)
          </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>Windows
          </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>jorge.valero@cnc.uc.pt
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jorge.valero@cnc.uc.pt
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When "limit to threshold" is activated in "Set measurements" and measuring an
area out of Threshold limits in a 16 bits image the following execption
appears:

(Fiji Is Just) ImageJ 2.0.0-rc-26/1.49p; Java 1.6.0_24 [64-bit]; Windows 7 6.1;
56MB of 4500MB (1%)

java.lang.ArrayIndexOutOfBoundsException: 1015
    at ij.process.ShortStatistics.getRawMinAndMax(ShortStatistics.java:55)
    at ij.process.ShortStatistics.<init>(ShortStatistics.java:33)
    at ij.process.ImageStatistics.getStatistics(ImageStatistics.java:64)
    at ij.ImagePlus.getStatistics(ImagePlus.java:891)
    at ij.ImagePlus.getStatistics(ImagePlus.java:863)
    at ij.plugin.filter.Analyzer.measure(Analyzer.java:256)
    at ij.plugin.filter.Analyzer.run(Analyzer.java:92)
    at
ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:263)
    at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:112)
    at ij.IJ.runPlugIn(IJ.java:171)
    at ij.Executer.runCommand(Executer.java:131)
    at ij.Executer.run(Executer.java:64)
    at java.lang.Thread.run(Thread.java:662)


I have many macros meauring all the ROIs allocated at the ROI Manager at the
same time so this error continuosly appear when a threshold is applied an a ROI
is in an area out of the threshold limits...

Information about your version of Java:

  os.arch => amd64
  os.name => Windows 7
  os.version => 6.1
  java.version => 1.6.0_24
  java.vendor => Sun Microsystems Inc.
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.6.0_24-b07
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 19.1-b02
  java.vm.vendor => Sun Microsystems Inc.
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.6
  sun.cpu.endian => little
  sun.desktop => windows
  file.separator => \

The up-to-date check says: UP_TO_DATE

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: C:\FIJI-W~2\Fiji.app/java/win64/jdk1.6.0_24//jre
  imagej.dir => C:\FIJI-W~2\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:20150319171059)
Fiji: <a href="http://fiji.sc/update/">http://fiji.sc/update/</a> (last check:20150325032333)
3D ImageJ Suite: <a href="http://sites.imagej.net/Tboudier/">http://sites.imagej.net/Tboudier/</a> (last check:20150325042001)
BAR: <a href="http://sites.imagej.net/Tiago/">http://sites.imagej.net/Tiago/</a> (last check:20150321134850)
BioVoxxel: <a href="http://sites.imagej.net/BioVoxxel/">http://sites.imagej.net/BioVoxxel/</a> (last check:20150323091050)
CMP-BIA tools: <a href="http://sites.imagej.net/CMP-BIA/">http://sites.imagej.net/CMP-BIA/</a> (last check:20140423153817)
GDSC: <a href="http://sites.imagej.net/GDSC/">http://sites.imagej.net/GDSC/</a> (last check:20150203173032)
IJPB-plugins: <a href="http://sites.imagej.net/IJPB-plugins/">http://sites.imagej.net/IJPB-plugins/</a> (last check:20150323094329)
Morphology: <a href="http://sites.imagej.net/Landini/">http://sites.imagej.net/Landini/</a> (last check:20140723155558)
MOSAIC ToolSuite:
<a href="http://mosaic.mpi-cbg.de/Downloads/update/Fiji/MosaicToolsuite/">http://mosaic.mpi-cbg.de/Downloads/update/Fiji/MosaicToolsuite/</a> (last
check:20150227190151)
NucleusJ: <a href="http://sites.imagej.net/PouletAxel/">http://sites.imagej.net/PouletAxel/</a> (last check:20141101093602)
SLIM Curve: <a href="http://sites.imagej.net/SLIM-Curve/">http://sites.imagej.net/SLIM-Curve/</a> (last check:20150227231116)

Files not up-to-date:
  1ad3be0d (LOCAL_ONLY) 20140616201203 jars/jpedalSTD.jar
  cd81328f (LOCAL_ONLY) 20141029175310 plugins/FLEYE/FLEYE_menu_v2.ijm
  37d2f99e (LOCAL_ONLY) 20141029175338 plugins/FLEYE/Fleye_ROISv1.2.ijm
  a3d657b3 (LOCAL_ONLY) 20141029175308 plugins/FLEYE/Fleye_optimizer_v4.2.ijm
  fd0293cf (LOCAL_ONLY) 20141030182219 plugins/FLEYE/Fleye_v10.4.ijm
  73397728 (LOCAL_ONLY) 20140812193210 plugins/FLEYE/README_FLEYE GNU GPL
license.txt
  9f2412ff (LOCAL_ONLY) 20141206090416 plugins/PSF_Generator.jar
  26561b0f (LOCAL_ONLY) 20040312144544 plugins/Stacks -
T-functions/Bleach_Correction.class
  9b90c530 (LOCAL_ONLY) 20081102090042 plugins/Stacks -
T-functions/Combine_IPL_ratio_pairs.txt
  1fd44c07 (LOCAL_ONLY) 20080305162032 plugins/Stacks -
T-functions/Delta_F.class
  55583e84 (LOCAL_ONLY) 20040402120146 plugins/Stacks -
T-functions/Delta_F_down.class
  b9d1fc6d (LOCAL_ONLY) 20031208125132 plugins/Stacks -
T-functions/Delta_F_up.class
  a215837f (LOCAL_ONLY) 20080719142644 plugins/Stacks -
T-functions/FRAP_Profiler.class
  03ffdaee (LOCAL_ONLY) 20081107084940 plugins/Stacks -
T-functions/F_div_F0.txt
  4a10d14e (LOCAL_ONLY) 20081107073650 plugins/Stacks -
T-functions/F_divided_by_F0.class
  3ae569df (LOCAL_ONLY) 20050202133014 plugins/Stacks -
T-functions/Intensity_v_Time_Monitor.class
  76680012 (LOCAL_ONLY) 20081102091104 plugins/Stacks -
T-functions/Quick_Ratio_Profiler.class
  5adafe19 (LOCAL_ONLY) 20081102091036 plugins/Stacks -
T-functions/Ratio_Profiler.class
  d7baa540 (LOCAL_ONLY) 20070514122852 plugins/Stacks -
T-functions/Ratio_ROI_Manager.class
  3d37fb07 (LOCAL_ONLY) 20090707153430 plugins/Stacks -
T-functions/Ratio_Stack.txt
  03bba501 (LOCAL_ONLY) 20050202133404 plugins/Stacks -
T-functions/Running_Stack_Projector.class
  106fd846 (LOCAL_ONLY) 20150131190705 plugins/Thresholderer_v1.1.ijm
  982ac976 (LOCAL_ONLY) 20130319100126 plugins/beansbinding-1.2.1.jar
  2d3e83d3 (LOCAL_ONLY) 20150124114418 plugins/binarization_chow_and_kaneko.jar
  b2afde18 (LOCAL_ONLY) 20150114160752 plugins/cell_counter.jar
  1e936db8 (LOCAL_ONLY) 20130319100124 plugins/commons-math3-3.0.jar
  fff007e0 (LOCAL_ONLY) 20130319100142 plugins/ejml-0.21.jar
  0dfa5070 (LOCAL_ONLY) 20130319100144 plugins/imagescience.jar
  6f4f44d4 (LOCAL_ONLY) 20141005110128 plugins/mvfg_windows_x64/MVFG_.jar
  62665aac (LOCAL_ONLY) 20140723110928 plugins/vamp/Readme.txt
  b8b78622 (LOCAL_ONLY) 20140723110928 plugins/vamp/vamp2d_v2$pixel.class
  1d2d98cf (LOCAL_ONLY) 20140723110928 plugins/vamp/vamp2d_v2.class
  c70932f5 (LOCAL_ONLY) 20140723110928 plugins/vamp/vamp3d_v1$pixel.class
  7694d226 (LOCAL_ONLY) 20140723110928 plugins/vamp/vamp3d_v1.class
  bbfcceee (LOCAL_ONLY) 20130319100156 plugins/xstream-1.4.3.jar</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>