Hi everyone;
I am using the ROI Manager for a plugin I'm working on. I create a Roi Manager and when I close it (manually or by close() function) I get an exception (see below) and I cannot use the Roi Manager properly while the application is running. I have been testing and the exception appears anytime a plugin try to close the Roi Manager. What am I doing wrong? Exception in thread "Run$_AWT-EventQueue-0" 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:2816) 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.Window.doDispose(Window.java:1205) at java.awt.Window.dispose(Window.java:1147) at ij.plugin.frame.PlugInFrame.close(PlugInFrame.java:41) at ij.plugin.frame.RoiManager.close(RoiManager.java:2009) at ij.plugin.frame.PlugInFrame.windowClosing(PlugInFrame.java:32) at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349) at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349) at java.awt.Window.processWindowEvent(Window.java:2051) at ij.plugin.frame.RoiManager.processWindowEvent(RoiManager.java:1620) at java.awt.Window.processEvent(Window.java:2009) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) 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)
Research engineer
HGGM. Madrid. |
Free forum by Nabble | Edit this page |