null
java.lang.NullPointerException
at com.mbeddr.mpsutil.graphview.pluginSolution.plugin.EditorActivationListener.cleanupOldEditor(EditorActivationListener.java:65)
at com.mbeddr.mpsutil.graphview.pluginSolution.plugin.EditorActivationListener.access$0(EditorActivationListener.java:56)
at com.mbeddr.mpsutil.graphview.pluginSolution.plugin.EditorActivationListener$1.run(EditorActivationListener.java:48)
at jetbrains.mps.ide.smodel.WorkbenchModelAccess$2.run(WorkbenchModelAccess.java:118)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:860)
at jetbrains.mps.ide.smodel.WorkbenchModelAccess.runReadAction(WorkbenchModelAccess.java:114)
at com.mbeddr.mpsutil.graphview.pluginSolution.plugin.EditorActivationListener.selectionChanged(EditorActivationListener.java:43)
at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:110)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:220)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:226)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:212)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:209)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:202)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:42)
at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:128)
at $Proxy63.selectionChanged(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$15.run(FileEditorManagerImpl.java:1375)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$12$1.run(FileEditorManagerImpl.java:859)
at com.intellij.openapi.wm.impl.FocusManagerImpl.flushRequest(FocusManagerImpl.java:611)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$2500(FocusManagerImpl.java:55)
at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:451)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1729)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:442)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:438)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:60)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$12.run(FileEditorManagerImpl.java:856)
at com.intellij.openapi.util.BusyObject$Impl$Simple.execute(BusyObject.java:118)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.notifyPublisher(FileEditorManagerImpl.java:853)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.fireSelectionChanged(FileEditorManagerImpl.java:1372)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters$3.run(EditorsSplitters.java:667)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.setCurrentWindow(EditorsSplitters.java:678)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters$MyFocusWatcher.focusedComponentChanged(EditorsSplitters.java:792)
at com.intellij.openapi.wm.FocusWatcher._setFocused(FocusWatcher.java:154)
at com.intellij.openapi.wm.FocusWatcher.setFocusedComponentImpl(FocusWatcher.java:149)
at com.intellij.openapi.wm.FocusWatcher.focusGained(FocusWatcher.java:95)
at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:203)
at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:202)
at java.awt.Component.processFocusEvent(Component.java:6264)
at java.awt.Component.processEvent(Component.java:6131)
at java.awt.Container.processEvent(Container.java:2083)
at java.awt.Component.dispatchEventImpl(Component.java:4737)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1836)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:901)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:513)
at java.awt.Component.dispatchEventImpl(Component.java:4609)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4565)
at com.intellij.ui.mac.foundation.MacUtil.startModal(MacUtil.java:83)
at com.intellij.ui.mac.foundation.MacUtil.startModal(MacUtil.java:106)
at com.intellij.ui.mac.MacMessagesImpl$5.fun(MacMessagesImpl.java:462)
at com.intellij.ui.mac.MacMessagesImpl$5.fun(MacMessagesImpl.java:418)
at com.intellij.ui.mac.MacMessagesImpl.doForWindowAndTitle(MacMessagesImpl.java:407)
at com.intellij.ui.mac.MacMessagesImpl.showAlertDialog(MacMessagesImpl.java:418)
at com.intellij.ui.mac.MacMessagesImpl.showMessageDialog(MacMessagesImpl.java:554)
at com.intellij.ui.mac.MacMessagesImpl.showOkMessageDialog(MacMessagesImpl.java:211)
at com.intellij.openapi.ui.Messages.showMessageDialog(Messages.java:207)
at jetbrains.mps.ide.actions.OptimizeModuleImports_Action.doExecute(OptimizeModuleImports_Action.java:92)
at jetbrains.mps.workbench.action.BaseAction.actionPerformed(BaseAction.java:135)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:260)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:890)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:114)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:226)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:100)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:512)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532)
at java.awt.Component.processMouseEvent(Component.java:6375)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6140)
at java.awt.Container.processEvent(Container.java:2083)
at java.awt.Component.dispatchEventImpl(Component.java:4737)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
at java.awt.Container.dispatchEventImpl(Container.java:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2482)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:643)
at java.awt.EventQueue$1.run(EventQueue.java:641)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:657)
at java.awt.EventQueue$2.run(EventQueue.java:655)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:699)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:420)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
null java.lang.NullPointerException at com.mbeddr.mpsutil.graphview.pluginSolution.plugin.EditorActivationListener.cleanupOldEditor(EditorActivationListener.java:65) at com.mbeddr.mpsutil.graphview.pluginSolution.plugin.EditorActivationListener.access$0(EditorActivationListener.java:56) at com.mbeddr.mpsutil.graphview.pluginSolution.plugin.EditorActivationListener$1.run(EditorActivationListener.java:48) at jetbrains.mps.ide.smodel.WorkbenchModelAccess$2.run(WorkbenchModelAccess.java:118) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:860) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.runReadAction(WorkbenchModelAccess.java:114) at com.mbeddr.mpsutil.graphview.pluginSolution.plugin.EditorActivationListener.selectionChanged(EditorActivationListener.java:43) at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:110) at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:220) at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:226) at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:212) at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:209) at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:202) at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:42) at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:128) at $Proxy63.selectionChanged(Unknown Source) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$15.run(FileEditorManagerImpl.java:1375) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$12$1.run(FileEditorManagerImpl.java:859) at com.intellij.openapi.wm.impl.FocusManagerImpl.flushRequest(FocusManagerImpl.java:611) at com.intellij.openapi.wm.impl.FocusManagerImpl.access$2500(FocusManagerImpl.java:55) at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:451) at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1729) at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:442) at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:438) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:60) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$12.run(FileEditorManagerImpl.java:856) at com.intellij.openapi.util.BusyObject$Impl$Simple.execute(BusyObject.java:118) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.notifyPublisher(FileEditorManagerImpl.java:853) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.fireSelectionChanged(FileEditorManagerImpl.java:1372) at com.intellij.openapi.fileEditor.impl.EditorsSplitters$3.run(EditorsSplitters.java:667) at com.intellij.openapi.fileEditor.impl.EditorsSplitters.setCurrentWindow(EditorsSplitters.java:678) at com.intellij.openapi.fileEditor.impl.EditorsSplitters$MyFocusWatcher.focusedComponentChanged(EditorsSplitters.java:792) at com.intellij.openapi.wm.FocusWatcher._setFocused(FocusWatcher.java:154) at com.intellij.openapi.wm.FocusWatcher.setFocusedComponentImpl(FocusWatcher.java:149) at com.intellij.openapi.wm.FocusWatcher.focusGained(FocusWatcher.java:95) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:203) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:202) at java.awt.Component.processFocusEvent(Component.java:6264) at java.awt.Component.processEvent(Component.java:6131) at java.awt.Container.processEvent(Container.java:2083) at java.awt.Component.dispatchEventImpl(Component.java:4737) at java.awt.Container.dispatchEventImpl(Container.java:2141) at java.awt.Component.dispatchEvent(Component.java:4565) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1836) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:901) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:513) at java.awt.Component.dispatchEventImpl(Component.java:4609) at java.awt.Container.dispatchEventImpl(Container.java:2141) at java.awt.Component.dispatchEvent(Component.java:4565) at com.intellij.ui.mac.foundation.MacUtil.startModal(MacUtil.java:83) at com.intellij.ui.mac.foundation.MacUtil.startModal(MacUtil.java:106) at com.intellij.ui.mac.MacMessagesImpl$5.fun(MacMessagesImpl.java:462) at com.intellij.ui.mac.MacMessagesImpl$5.fun(MacMessagesImpl.java:418) at com.intellij.ui.mac.MacMessagesImpl.doForWindowAndTitle(MacMessagesImpl.java:407) at com.intellij.ui.mac.MacMessagesImpl.showAlertDialog(MacMessagesImpl.java:418) at com.intellij.ui.mac.MacMessagesImpl.showMessageDialog(MacMessagesImpl.java:554) at com.intellij.ui.mac.MacMessagesImpl.showOkMessageDialog(MacMessagesImpl.java:211) at com.intellij.openapi.ui.Messages.showMessageDialog(Messages.java:207) at jetbrains.mps.ide.actions.OptimizeModuleImports_Action.doExecute(OptimizeModuleImports_Action.java:92) at jetbrains.mps.workbench.action.BaseAction.actionPerformed(BaseAction.java:135) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:260) at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:890) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:114) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:226) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:100) at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:512) at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44) at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532) at java.awt.Component.processMouseEvent(Component.java:6375) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6140) at java.awt.Container.processEvent(Container.java:2083) at java.awt.Component.dispatchEventImpl(Component.java:4737) at java.awt.Container.dispatchEventImpl(Container.java:2141) at java.awt.Component.dispatchEvent(Component.java:4565) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210) at java.awt.Container.dispatchEventImpl(Container.java:2127) at java.awt.Window.dispatchEventImpl(Window.java:2482) at java.awt.Component.dispatchEvent(Component.java:4565) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:643) at java.awt.EventQueue$1.run(EventQueue.java:641) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:657) at java.awt.EventQueue$2.run(EventQueue.java:655) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:654) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:699) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:420) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)