Ticket #103 (closed defect: moved)
Opened 2007-04-10T14:44:59-05:00
Last modified 2014-01-09T13:13:09-06:00
Exception when removing display
Reported by: | sorber | Owned by: | curtis |
---|---|---|---|
Priority: | minor | Milestone: |
|
Component: | visbio | Severity: | serious |
Keywords: | exception visad | Cc: | |
Blocked By: | Blocking: |
Description (last modified by curtis)
java.lang.NullPointerException at visad.DisplayImpl.doAction(DisplayImpl.java:1755) at visad.ActionImpl.run(ActionImpl.java:364) at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
(just 3 lines)
To generate this exception:
- Add the sdub dataset
- Add a 2D or 3D display
- Remove the sdub dataset
- Remove the display
Change History
comment:1 Changed 2007-04-10T16:22:49-05:00 by curtis
- Priority changed from major to minor
- Status changed from new to assigned
comment:2 Changed 2007-04-10T16:23:35-05:00 by curtis
- Summary changed from Exception when removing display after removing associated data objects to Exception when removing display
comment:3 Changed 2007-08-01T16:15:32-05:00 by curtis
- Milestone set to visbio3.5
Here is a stack trace with the latest version of VisBio:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Assertion failure at visad.java3d.UniverseBuilderJ3D.destroy(UniverseBuilderJ3D.java:124) at visad.java3d.DisplayPanelJ3D.destroy(DisplayPanelJ3D.java:79) at visad.java3d.VisADCanvasJ3D.stop(VisADCanvasJ3D.java:415) at visad.java3d.DisplayRendererJ3D.destroy(DisplayRendererJ3D.java:157) at visad.java3d.TwoDDisplayRendererJ3D.destroy(TwoDDisplayRendererJ3D.java:84) at visad.java3d.DisplayImplJ3D.destroy(DisplayImplJ3D.java:719) at loci.visbio.view.DisplayWindow.discard(DisplayWindow.java:402) at loci.visbio.view.DisplayControls.removeDisplay(DisplayControls.java:163) at loci.visbio.view.DisplayManager.removeDisplay(DisplayManager.java:136) at loci.visbio.view.DisplayControls.actionPerformed(DisplayControls.java:195) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6038) at javax.swing.JComponent.processMouseEvent(JComponent.java:3260) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) Caused by: java.lang.reflect.InvocationTargetException 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 visad.java3d.UniverseBuilderJ3D.destroy(UniverseBuilderJ3D.java:121) ... 35 more Caused by: java.lang.NullPointerException at javax.media.j3d.NodeRetained.clearLive(NodeRetained.java:718) at javax.media.j3d.GroupRetained.clearLive(GroupRetained.java:2630) at javax.media.j3d.GroupRetained.clearLive(GroupRetained.java:2678) at javax.media.j3d.Locale.doRemoveBranchGraph(Locale.java:332) at javax.media.j3d.Locale.removeFromUniverse(Locale.java:301) at javax.media.j3d.VirtualUniverse.removeAllLocales(VirtualUniverse.java:336) ... 40 more
comment:4 Changed 2008-07-09T13:11:02-05:00 by curtis
- Status changed from assigned to new
- Description modified
- Severity set to fatal
comment:6 Changed 2014-01-09T13:13:09-06:00 by curtis
- Status changed from new to closed
- Resolution set to moved
- Description modified
I duplicated this problem by removing the display first (i.e., NOT removing the sdub dataset). And repeated adds and removals of sdub with various displays yielded: