Ticket #788 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

ProbeTool throws exceptions

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b1-initial
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

Change History

comment:1 Changed 7 years ago by bdezonia

  • Owner changed from curtis to bdezonia
  • Status changed from new to assigned

comment:2 Changed 7 years ago by bdezonia

  • Status changed from assigned to closed
  • Resolution set to fixed

fixed in c1032df2337d62af446c9f67d5fe4252f634d03e

Note: See TracTickets for help on using tickets.