The following error pops up in tray window. Must be caused by a null pointer on getting selected device
update failed for AnAction(net.happybrackets.intellij_plugin.menu.context.SendCompositionToSelectedDevice) with ID=SendCompositionToSelectedDeviceRunContext
java.lang.NullPointerException
at net.happybrackets.intellij_plugin.menu.context.SendCompositionToSelectedDevice.update(SendCompositionToSelectedDevice.java:23)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:136)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:257)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:202)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:153)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:227)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:153)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:227)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:153)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:227)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:153)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:227)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:363)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:107)
at com.intellij.ui.PopupHandler$2.invokePopup(PopupHandler.java:87)
at com.intellij.ui.PopupHandler.mousePressed(PopupHandler.java:51)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
at java.awt.Component.processMouseEvent(Component.java:6538)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:423)
at com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree.java:58)
at java.awt.Component.processEvent(Component.java:6306)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4897)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4523)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:822)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:646)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366)
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)
The following error pops up in tray window. Must be caused by a null pointer on getting selected device
update failed for AnAction(net.happybrackets.intellij_plugin.menu.context.SendCompositionToSelectedDevice) with ID=SendCompositionToSelectedDeviceRunContext java.lang.NullPointerException at net.happybrackets.intellij_plugin.menu.context.SendCompositionToSelectedDevice.update(SendCompositionToSelectedDevice.java:23) at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:136) at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:257) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:202) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:153) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:227) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:153) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:227) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:153) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:227) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:153) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:227) at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:363) at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:107) at com.intellij.ui.PopupHandler$2.invokePopup(PopupHandler.java:87) at com.intellij.ui.PopupHandler.mousePressed(PopupHandler.java:51) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) at java.awt.Component.processMouseEvent(Component.java:6538) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:423) at com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree.java:58) at java.awt.Component.processEvent(Component.java:6306) at java.awt.Container.processEvent(Container.java:2237) at java.awt.Component.dispatchEventImpl(Component.java:4897) at java.awt.Container.dispatchEventImpl(Container.java:2295) at java.awt.Component.dispatchEvent(Component.java:4719) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4523) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467) at java.awt.Container.dispatchEventImpl(Container.java:2281) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4719) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764) at java.awt.EventQueue.access$500(EventQueue.java:98) at java.awt.EventQueue$3.run(EventQueue.java:715) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:737) at java.awt.EventQueue$4.run(EventQueue.java:735) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:822) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:646) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366) 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)