[ImageJ-bugs] [Bug 1037] 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)

bugzilla at fiji.sc bugzilla at fiji.sc
Thu Mar 26 05:24:48 CDT 2015


http://fiji.sc/bugzilla/show_bug.cgi?id=1037

            Bug ID: 1037
           Summary: 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)
           Product: Fiji
           Version: unspecified
          Hardware: PC
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Plugins
          Assignee: imagej-bugs at imagej.net
          Reporter: jorge.valero at cnc.uc.pt
                CC: jorge.valero at cnc.uc.pt

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: http://update.imagej.net/ (last check:20150319171059)
Fiji: http://fiji.sc/update/ (last check:20150325032333)
3D ImageJ Suite: http://sites.imagej.net/Tboudier/ (last check:20150325042001)
BAR: http://sites.imagej.net/Tiago/ (last check:20150321134850)
BioVoxxel: http://sites.imagej.net/BioVoxxel/ (last check:20150323091050)
CMP-BIA tools: http://sites.imagej.net/CMP-BIA/ (last check:20140423153817)
GDSC: http://sites.imagej.net/GDSC/ (last check:20150203173032)
IJPB-plugins: http://sites.imagej.net/IJPB-plugins/ (last check:20150323094329)
Morphology: http://sites.imagej.net/Landini/ (last check:20140723155558)
MOSAIC ToolSuite:
http://mosaic.mpi-cbg.de/Downloads/update/Fiji/MosaicToolsuite/ (last
check:20150227190151)
NucleusJ: http://sites.imagej.net/PouletAxel/ (last check:20141101093602)
SLIM Curve: http://sites.imagej.net/SLIM-Curve/ (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

-- 
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-bugs/attachments/20150326/92d807f5/attachment.html>


More information about the Imagej-bugs mailing list