NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #684 (closed defect: fixed)

Opened 2011-07-25T16:28:47-05:00

Last modified 2011-07-29T12:37:03-05:00

Add data plugin can throw exception

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Jul-18 to Jul-29
Component: Display API Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Open Organ Of Corti
Run Add Data plugin
Choose Channel as the axis to add along
I specified size of 1 and position of 3
Exception thrown and display not updated

Caused by: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4

at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at imagej.display.AbstractDatasetView.updateLUTs(AbstractDatasetView.java:295)
at imagej.display.AbstractDatasetView.resetColorTables(AbstractDatasetView.java:152)
at imagej.display.AbstractDatasetView.rebuild(AbstractDatasetView.java:221)
at imagej.display.AbstractDisplayView$2.onEvent(AbstractDisplayView.java:175)
at imagej.display.AbstractDisplayView$2.onEvent(AbstractDisplayView.java:1)
at org.bushe.swing.event.ThreadSafeEventService.publish(ThreadSafeEventService.java:971)

Change History

comment:1 Changed 2011-07-29T12:37:03-05:00 by bdezonia

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

fixed in aca5f9a2e542eb17d633c081a430a365fe0d0882