java.lang.IllegalStateException: attempt to put another node with same key: r:7aa906c5-dde5-482d-905d-b76b3b3df5ae(NewSolution1.mmm)#4375728174399655810

YouTrack | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Migration assistant tries to start immediately after refactoring

    YouTrack | 6 months ago
    java.lang.IllegalStateException: attempt to put another node with same key: r:7aa906c5-dde5-482d-905d-b76b3b3df5ae(NewSolution1.mmm)#4375728174399655810

    Root Cause Analysis

    1. java.lang.IllegalStateException

      attempt to put another node with same key: r:7aa906c5-dde5-482d-905d-b76b3b3df5ae(NewSolution1.mmm)#4375728174399655810

      at jetbrains.mps.smodel.references.UnregisteredNodes.add()
    2. jetbrains.mps.smodel
      UnregisteredNodes.put
      1. jetbrains.mps.smodel.references.UnregisteredNodes.add(UnregisteredNodes.java:116)
      2. jetbrains.mps.smodel.references.UnregisteredNodes.put(UnregisteredNodes.java:87)
      2 frames
    3. JetBrains mps
      SNode.delete
      1. jetbrains.mps.smodel.AttachedNodeOwner.unregisterNode(AttachedNodeOwner.java:103)
      2. jetbrains.mps.smodel.SNode.detach(SNode.java:451)
      3. jetbrains.mps.smodel.SModel.removeRootNode(SModel.java:204)
      4. jetbrains.mps.smodel.SNode.delete(SNode.java:205)
      4 frames
    4. org.jetbrains.mps
      SNodeUtil.replaceWithAnother
      1. org.jetbrains.mps.openapi.model.SNodeUtil.replaceWithAnother(SNodeUtil.java:77)
      1 frame
    5. jetbrains.mps.lang
      SNodeOperations.replaceWithAnother
      1. jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations.replaceWithAnother(SNodeOperations.java:489)
      1 frame
    6. JetBrains mps
      RefactoringRuntime.replaceWithNewConcept
      1. jetbrains.mps.lang.structure.plugin.RefactoringRuntime.replaceWithNewConcept(RefactoringRuntime.java:115)
      1 frame
    7. jetbrains.mps.lang
      UpdateLocalInstancesParticipant$1$1$1.run
      1. jetbrains.mps.lang.structure.pluginSolution.plugin.MoveAbstractConceptSpecialization.doReplaceInstance(MoveAbstractConceptSpecialization.java:81)
      2. jetbrains.mps.lang.structure.pluginSolution.plugin.MoveAbstractConceptSpecialization.doReplaceInstance(MoveAbstractConceptSpecialization.java:36)
      3. jetbrains.mps.lang.structure.pluginSolution.plugin.UpdateLocalInstancesParticipant$1$1$1.run(UpdateLocalInstancesParticipant.java:109)
      3 frames
    8. jetbrains.mps.refactoring
      RefactoringSessionImpl.performAllRegistered
      1. jetbrains.mps.refactoring.participant.RefactoringSessionImpl.performAllRegistered(RefactoringSessionImpl.java:35)
      1 frame
    9. jetbrains.mps.ide
      RefactoringProcessor$RefactoringUIImpl$1$1.run
      1. jetbrains.mps.ide.platform.actions.core.RefactoringProcessor$RefactoringUIImpl$1$1.run(RefactoringProcessor.java:120)
      1 frame
    10. JetBrains mps
      WorkbenchModelAccess$3.run
      1. jetbrains.mps.smodel.WorkbenchModelAccess$CommandRunnable$1.run(WorkbenchModelAccess.java:632)
      2. jetbrains.mps.smodel.WriteActionDispatcher.run(WriteActionDispatcher.java:39)
      3. jetbrains.mps.smodel.WorkbenchModelAccess$3.run(WorkbenchModelAccess.java:136)
      3 frames
    11. IDEA
      ApplicationImpl.runWriteAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:905)
      1 frame
    12. JetBrains mps
      WorkbenchModelAccess$CommandRunnable.run
      1. jetbrains.mps.smodel.WorkbenchModelAccess.runWriteAction(WorkbenchModelAccess.java:145)
      2. jetbrains.mps.smodel.WorkbenchModelAccess$CommandRunnable.run(WorkbenchModelAccess.java:627)
      2 frames
    13. IDEA
      CoreCommandProcessor.executeCommand
      1. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
      2. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)
      2 frames
    14. JetBrains mps
      ProjectModelAccess.executeCommand
      1. jetbrains.mps.smodel.WorkbenchModelAccess.runWriteActionInCommand(WorkbenchModelAccess.java:440)
      2. jetbrains.mps.smodel.WorkbenchModelAccess.executeCommand(WorkbenchModelAccess.java:403)
      3. jetbrains.mps.project.ProjectModelAccess.executeCommand(ProjectModelAccess.java:43)
      3 frames
    15. jetbrains.mps.ide
      RefactoringProcessor$RefactoringUIImpl$1.performAction
      1. jetbrains.mps.ide.platform.actions.core.RefactoringProcessor$RefactoringUIImpl$1.performAction(RefactoringProcessor.java:113)
      1 frame
    16. JetBrains mps
      RefactoringViewItemImpl$2.actionPerformed
      1. jetbrains.mps.ide.refactoring.RefactoringViewItemImpl.doRefactor(RefactoringViewItemImpl.java:115)
      2. jetbrains.mps.ide.refactoring.RefactoringViewItemImpl.access$000(RefactoringViewItemImpl.java:36)
      3. jetbrains.mps.ide.refactoring.RefactoringViewItemImpl$2.actionPerformed(RefactoringViewItemImpl.java:81)
      3 frames
    17. Java RT
      EventQueue.dispatchEvent
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
      6. java.awt.Component.processMouseEvent(Component.java:6535)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
      8. java.awt.Component.processEvent(Component.java:6300)
      9. java.awt.Container.processEvent(Container.java:2236)
      10. java.awt.Component.dispatchEventImpl(Component.java:4891)
      11. java.awt.Container.dispatchEventImpl(Container.java:2294)
      12. java.awt.Component.dispatchEvent(Component.java:4713)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
      16. java.awt.Container.dispatchEventImpl(Container.java:2280)
      17. java.awt.Window.dispatchEventImpl(Window.java:2750)
      18. java.awt.Component.dispatchEvent(Component.java:4713)
      19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      20. java.awt.EventQueue.access$500(EventQueue.java:97)
      21. java.awt.EventQueue$3.run(EventQueue.java:709)
      22. java.awt.EventQueue$3.run(EventQueue.java:703)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      25. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      26. java.awt.EventQueue$4.run(EventQueue.java:731)
      27. java.awt.EventQueue$4.run(EventQueue.java:729)
      28. java.security.AccessController.doPrivileged(Native Method)
      29. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      30. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      30 frames
    18. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:695)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    19. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames