[bug] reload-all when no project is error
Hitting the "reload all" icon on the toolbar when there is no project
causes a stack trace.
2005-07-27 14:49:51,945 ERROR -
s.ide.command.CommandProcessor - Exception during executing command
Reload All
java.lang.NullPointerException
at jetbrains.mps.smodel.SModel.updateNodeStatuses(SModel.java:476)
at
jetbrains.mps.smodel.SModelRepository.refreshModels(SModelRepository.java:42)
at
jetbrains.mps.ide.actions.tools.ReloadUtils.reloadAll(ReloadUtils.java:22)
at
jetbrains.mps.ide.actions.tools.ReloadAllAction.execute(ReloadAllAction.java:18)
at
jetbrains.mps.ide.action.AbstractActionAdapter$1.run(AbstractActionAdapter.java:34)
at
jetbrains.mps.ide.command.CommandProcessor.executeCommand_internal(CommandProcessor.java:65)
at
jetbrains.mps.ide.command.CommandProcessor.executeCommand(CommandProcessor.java:51)
at
jetbrains.mps.ide.command.CommandProcessor.executeCommand(CommandProcessor.java:40)
at
jetbrains.mps.ide.action.AbstractActionAdapter.actionPerformed(AbstractActionAdapter.java:32)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
(I tried to use Jira but had no permissions to create the issue)
Please sign in to leave a comment.
submitted MPS-334 , thank you.