Ticket #788 (closed defect: fixed)
Opened 2011-09-23T10:56:05-05:00
Last modified 2011-09-26T09:19:56-05:00
ProbeTool throws exceptions
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | Display API | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Open Bridge. Add Axis (Z, 2). Move cursor over image. Exceptions thrown and nothing drawn:
Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.rangeCheck(ArrayList.java:571)
at java.util.ArrayList.get(ArrayList.java:349)
at net.imglib2.img.planar.PlanarImg.update(PlanarImg.java:134)
at net.imglib2.img.planar.PlanarImg.update(PlanarImg.java:1)
at net.imglib2.type.numeric.integer.GenericByteType.updateContainer(GenericByteType.java:70)
at net.imglib2.img.planar.PlanarRandomAccess.setPosition(PlanarRandomAccess.java:166)
at net.imglib2.img.planar.PlanarRandomAccess.setPosition(PlanarRandomAccess.java:175)
at imagej.core.tools.global.PixelProbe.setPosition(PixelProbe.java:129)
at imagej.core.tools.global.PixelProbe.onMouseMove(PixelProbe.java:106)
at imagej.ext.tool.ToolService$7.onEvent(ToolService.java:310)
at imagej.ext.tool.ToolService$7.onEvent(ToolService.java:1)
at org.bushe.swing.event.ThreadSafeEventService.publish(ThreadSafeEventService.java:971)
... 39 more