Ticket #916 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Exception when adding an axis

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b1-initial
Component: UI Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Add Z axis to Boats. Exception below thrown:

[ERROR] Exception during event handling:

[Event] imagej.data.event.DatasetRestructuredEvent
context = imagej.ImageJ@19d1b44b
consumed = false
object = boats.gif
[Subscriber] imagej.ui.swing.sdi.display.SwingSdiImageDisplay@56a96eba
[Method] protected void imagej.data.display.AbstractImageDisplay.onEvent(imagej.data.event.DataRestructuredEvent)

java.lang.ArrayIndexOutOfBoundsException: 2

at net.imglib2.display.XYProjector.getLongPosition(XYProjector.java:166)
at imagej.data.display.AbstractDatasetView.getLongPosition(AbstractDatasetView.java:230)
at imagej.data.display.AbstractDataView.getPlanePosition(AbstractDataView.java:104)
at imagej.data.display.AbstractDatasetView.getCurrentLUT(AbstractDatasetView.java:322)
at imagej.data.display.AbstractDatasetView.updateLUTs(AbstractDatasetView.java:316)
at imagej.data.display.AbstractDatasetView.createProjector(AbstractDatasetView.java:280)
at imagej.data.display.AbstractDatasetView.rebuild(AbstractDatasetView.java:219)
at imagej.data.display.AbstractImageDisplay.rebuild(AbstractImageDisplay.java:137)
at imagej.data.display.AbstractImageDisplay.onEvent(AbstractImageDisplay.java:548)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at imagej.event.DefaultEventService$ProxySubscriber.onEvent(DefaultEventService.java:224)
at imagej.event.DefaultEventService$ProxySubscriber.onEvent(DefaultEventService.java:1)
at org.bushe.swing.event.ThreadSafeEventService.publish(ThreadSafeEventService.java:971)
at org.bushe.swing.event.SwingEventService.access$001(SwingEventService.java:31)
at org.bushe.swing.event.SwingEventService$1.run(SwingEventService.java:88)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Change History

comment:1 Changed 8 years ago by bdezonia

Resurrection of #815? Maybe related.

comment:2 Changed 8 years ago by bdezonia

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

Fixed with 8a637ccb620dc9f89a23b8d3e43d3b5d4f6b5bce.

Other exceptions now possible. Will file new tickets.

Note: See TracTickets for help on using tickets.