java.lang.IllegalArgumentException: Argument for @NotNull parameter 'role' of jetbrains/mps/smodel/SNode.addChild must not be null

GitHub | norro | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.IllegalArgumentException exception in ChangesManager command queue: Argument for @NotNull parameter 'role' of jetbrains/mps/smodel/SNode.addChild must not be null

    GitHub | 2 months ago | norro
    java.lang.IllegalArgumentException: Argument for @NotNull parameter 'role' of jetbrains/mps/smodel/SNode.addChild must not be null
  2. 0

    Generator models corrupted

    YouTrack | 3 years ago
    java.lang.NullPointerException
  3. 0

    Exception from merge driver

    YouTrack | 4 years ago
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Argument for @NotNull parameter 'role' of jetbrains/mps/smodel/SNode.addChild must not be null

      at jetbrains.mps.smodel.SNode.addChild()
    2. JetBrains mps
      ModelReader9Handler.endElement
      1. jetbrains.mps.smodel.SNode.addChild(SNode.java)
      2. jetbrains.mps.smodel.persistence.def.v9.ModelReader9Handler$NodeElementHandler.handleChild_5480414999147804248(ModelReader9Handler.java:560)
      3. jetbrains.mps.smodel.persistence.def.v9.ModelReader9Handler$NodeElementHandler.access$3200(ModelReader9Handler.java:458)
      4. jetbrains.mps.smodel.persistence.def.v9.ModelReader9Handler$NodeElementHandler$4.apply(ModelReader9Handler.java:512)
      5. jetbrains.mps.smodel.persistence.def.v9.ModelReader9Handler.endElement(ModelReader9Handler.java:93)
      5 frames
    3. Xerces2-j
      SAXParserImpl.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      2. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      9. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      10. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
      10 frames
    4. jetbrains.mps.vcspersistence
      VCSPersistenceSupport$3.run
      1. jetbrains.mps.vcspersistence.VCSPersistenceSupport.parseAndHandleExceptions(VCSPersistenceSupport.java:352)
      2. jetbrains.mps.vcspersistence.VCSPersistenceSupport.readModel(VCSPersistenceSupport.java:209)
      3. jetbrains.mps.vcspersistence.VCSPersistenceSupport.access$300(VCSPersistenceSupport.java:76)
      4. jetbrains.mps.vcspersistence.VCSPersistenceSupport$3.run(VCSPersistenceSupport.java:239)
      4 frames
    5. JetBrains mps
      WorkbenchModelAccess$2.run
      1. jetbrains.mps.smodel.WorkbenchModelAccess$2.run(WorkbenchModelAccess.java:105)
      1 frame
    6. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
      1 frame
    7. JetBrains mps
      WorkbenchModelAccess.runReadAction
      1. jetbrains.mps.smodel.WorkbenchModelAccess.runReadAction(WorkbenchModelAccess.java:100)
      1 frame
    8. jetbrains.mps.vcspersistence
      VCSPersistenceUtil.loadModel
      1. jetbrains.mps.vcspersistence.VCSPersistenceSupport.readModel(VCSPersistenceSupport.java:233)
      2. jetbrains.mps.vcspersistence.VCSPersistenceUtil.loadFromOldMPSPersistence(VCSPersistenceUtil.java:82)
      3. jetbrains.mps.vcspersistence.VCSPersistenceUtil.loadModel(VCSPersistenceUtil.java:36)
      3 frames
    9. JetBrains mps
      SimpleCommandQueue$MyExecutorThread.run
      1. jetbrains.mps.vcs.changesmanager.BaseVersionUtil.getBaseVersionModel(BaseVersionUtil.java:104)
      2. jetbrains.mps.vcs.changesmanager.ChangesTracking.update(ChangesTracking.java:198)
      3. jetbrains.mps.vcs.changesmanager.ChangesTracking.access$100(ChangesTracking.java:91)
      4. jetbrains.mps.vcs.changesmanager.ChangesTracking$12.run(ChangesTracking.java:360)
      5. jetbrains.mps.vcs.changesmanager.SimpleCommandQueue$MyExecutorThread.run(SimpleCommandQueue.java:77)
      5 frames