Login  Register

Re: ROI manager bug-let

Posted by Michael Elbaum on May 07, 2016; 8:42pm
URL: http://imagej.273.s1.nabble.com/ROI-manager-bug-let-tp5016334p5016352.html

Funny. When I Quit from the menu there's a long list of complaints from java on the terminal. The X in the corner closes cleanly. The problem does seem to be related to java 1.7 though. A fresh Fiji install as Curtis suggested works fine, and I found an old Fiji with 1.6 that works as well. problem solved.
thanks,
Michael

________________________________________
From: ImageJ Interest Group [[hidden email]] on behalf of Gabriel Landini [[hidden email]]
Sent: Saturday, May 07, 2016 12:49
To: [hidden email]
Subject: Re: ROI manager bug-let

On Friday 06 May 2016 18:59:43 Michael Elbaum wrote:
> After playing a bit more I understood
> the problem comes from closing the ROI manager with the X in the corner,
> rather than Ctrl-W. If closed with the X it no longer works. (Obviously a
> workaround is never to close with the X!)

Ah, yes now I can reproduce this with Oracle Java 7.

Perhaps this is related to this odd problem that happens when I close IJ from
the X icon in the main window, or with the Quit menu command? Do you get this
too?:

========================
Exception during disposal:
java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1272)
        at java.awt.Window.doDispose(Window.java:1209)
        at java.awt.Window.dispose(Window.java:1147)
        at ij.ImageJ.run(ImageJ.java:801)
        at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IllegalArgumentException: null source
        at java.util.EventObject.<init>(EventObject.java:56)
        at java.awt.AWTEvent.<init>(AWTEvent.java:337)
        at java.awt.event.InvocationEvent.<init>(InvocationEvent.java:224)
        at java.awt.event.InvocationEvent.<init>(InvocationEvent.java:188)
        at java.awt.event.InvocationEvent.<init>(InvocationEvent.java:150)
        at sun.awt.X11.XBaseMenuWindow.dispose(XBaseMenuWindow.java:907)
        at java.awt.MenuComponent.removeNotify(MenuComponent.java:310)
        at java.awt.Menu.removeNotify(Menu.java:198)
        at java.awt.Component.removeNotify(Component.java:6980)
        at java.awt.Container.removeNotify(Container.java:2800)
        at java.awt.Window.removeNotify(Window.java:782)
        at java.awt.Frame.removeNotify(Frame.java:1041)
        at java.awt.Window$1DisposeAction.run(Window.java:1190)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
        at java.awt.EventQueue.access$200(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:694)
        at java.awt.EventQueue$3.run(EventQueue.java:692)
        at java.security.AccessController.doPrivileged(Native Method)
        at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.awt.EventQueue$4.run(EventQueue.java:708)
        at java.awt.EventQueue$4.run(EventQueue.java:706)
        at java.security.AccessController.doPrivileged(Native Method)
        at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
========================

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html