rilian-la-te / java-swing-ayatana

Automatically exported from code.google.com/p/java-swing-ayatana
1 stars 1 forks source link

NPE at SwingGlobalMenu.getSwingGlobalMenuWindowController(SwingGlobalMenu.java:204) #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Enviroment:
Ubuntu 15.04 amd64
OpenJDK 1.8.0_45-internal
IntelliJ IDEA 14.1.4

What steps will reproduce the problem?
1. Open some project in IntellJ
2. Work for 4 hours
3. Global menus will not clickable

Or just google it. There is many people has same problem.

Stacktrace
ERROR - llij.ide.plugins.PluginManager - null 
java.lang.NullPointerException
    at com.jarego.jayatana.swing.SwingGlobalMenu.getSwingGlobalMenuWindowController(SwingGlobalMenu.java:204)
    at com.jarego.jayatana.swing.SwingGlobalMenu.installLockParentGlobalMenu(SwingGlobalMenu.java:160)
    at com.jarego.jayatana.swing.SwingGlobalMenu.installOnWindow(SwingGlobalMenu.java:102)
    at com.jarego.jayatana.swing.SwingGlobalMenu.eventDispatched(SwingGlobalMenu.java:77)
    at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2425)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
    at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2275)
    at java.awt.Component.dispatchEventImpl(Component.java:4777)
    at java.awt.Container.dispatchEventImpl(Container.java:2292)
    at java.awt.Window.dispatchEventImpl(Window.java:2750)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
    at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
    at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
    at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
    at java.awt.Dialog.show(Dialog.java:1084)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:778)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:465)
    at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1614)
    at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1571)
    at com.intellij.openapi.ui.DialogWrapper.showAndGet(DialogWrapper.java:1578)
    at com.intellij.openapi.vcs.update.AbstractCommonUpdateAction.a(AbstractCommonUpdateAction.java:162)
    at com.intellij.openapi.vcs.update.AbstractCommonUpdateAction.actionPerformed(AbstractCommonUpdateAction.java:106)
    at com.intellij.openapi.vcs.actions.AbstractVcsAction.actionPerformed(AbstractVcsAction.java:65)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182)
    at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:162)
    at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:126)
    at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:303)
    at java.awt.Component.processEvent(Component.java:6290)
    at java.awt.Container.processEvent(Container.java:2234)
    at java.awt.Component.dispatchEventImpl(Component.java:4881)
    at java.awt.Container.dispatchEventImpl(Container.java:2292)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
    at java.awt.Container.dispatchEventImpl(Container.java:2278)
    at java.awt.Window.dispatchEventImpl(Window.java:2750)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Original issue reported on code.google.com by hurle0...@gmail.com on 20 Aug 2015 at 2:46