I am seeing the following exception with WebLAF and internal frames:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.alee.laf.menu.WebPopupMenuUI$3.propertyChange(WebPopupMenuUI.java:184)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:328)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
at java.awt.Component.firePropertyChange(Component.java:8382)
at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:784)
at javax.swing.JPopupMenu.show(JPopupMenu.java:953)
at de.sciss.scalainterpreter.LogPane$Impl$$anon$1$$anon$3.handleButton(LogPane.scala:93)
at de.sciss.scalainterpreter.LogPane$Impl$$anon$1$$anon$3.mousePressed(LogPane.scala:89)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.Component.processMouseEvent(Component.java:6502)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
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:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
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)
This happens when creating an internal frame which is hidden (not opened), and successively using the mouse. My interpretation is that although the new frame is not opened, the LAF somehow dispatches mouse events to that new frame, which in this case tries to open a popup menu and then causes the exception.
So this appears to be complementary to the other bug I reported, where keyboard focus stays with the old internal frame when opening a new one. Here, mouse focus is transferred to a new frame even if it is not opened.
I am seeing the following exception with WebLAF and internal frames:
This happens when creating an internal frame which is hidden (not opened), and successively using the mouse. My interpretation is that although the new frame is not opened, the LAF somehow dispatches mouse events to that new frame, which in this case tries to open a popup menu and then causes the exception.
So this appears to be complementary to the other bug I reported, where keyboard focus stays with the old internal frame when opening a new one. Here, mouse focus is transferred to a new frame even if it is not opened.