java.lang.IllegalArgumentException

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


Solutions on the web29059

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

Solution icon of youtrack
via YouTrack by Unknown author, 10 months ago
Argument for @NotNull parameter 'id' of jetbrains/mps/smodel/language/ConceptRepository.getConcept must not be null

Solution icon of youtrack
Argument 0 for @NotNull parameter of jetbrains/mps/ide/ui/MPSTreeNode.setNodeIdentifier must not be null

Solution icon of youtrack
via YouTrack by Unknown author, 1 year ago
Argument for @NotNull parameter 'sub' of jetbrains/mps/util/FileUtil.isSubPath must not be null

Solution icon of youtrack
via YouTrack by Unknown author, 1 year ago
Argument 0 for @NotNull parameter of jetbrains/mps/nodeEditor/EditorComponent.changeSelection must not be null


Stack trace

  • java.lang.IllegalArgumentException: Argument for @NotNull parameter 'role' of jetbrains/mps/smodel/SNode.addChild must not be null at jetbrains.mps.smodel.SNode.addChild(SNode.java) at jetbrains.mps.smodel.persistence.def.v9.ModelReader9Handler$NodeElementHandler.handleChild_5480414999147804248(ModelReader9Handler.java:560) at jetbrains.mps.smodel.persistence.def.v9.ModelReader9Handler$NodeElementHandler.access$3200(ModelReader9Handler.java:458) at jetbrains.mps.smodel.persistence.def.v9.ModelReader9Handler$NodeElementHandler$4.apply(ModelReader9Handler.java:512) at jetbrains.mps.smodel.persistence.def.v9.ModelReader9Handler.endElement(ModelReader9Handler.java:93) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at jetbrains.mps.vcspersistence.VCSPersistenceSupport.parseAndHandleExceptions(VCSPersistenceSupport.java:352) at jetbrains.mps.vcspersistence.VCSPersistenceSupport.readModel(VCSPersistenceSupport.java:209) at jetbrains.mps.vcspersistence.VCSPersistenceSupport.access$300(VCSPersistenceSupport.java:76) at jetbrains.mps.vcspersistence.VCSPersistenceSupport$3.run(VCSPersistenceSupport.java:239) at jetbrains.mps.smodel.WorkbenchModelAccess$2.run(WorkbenchModelAccess.java:105) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848) at jetbrains.mps.smodel.WorkbenchModelAccess.runReadAction(WorkbenchModelAccess.java:100) at jetbrains.mps.vcspersistence.VCSPersistenceSupport.readModel(VCSPersistenceSupport.java:233) at jetbrains.mps.vcspersistence.VCSPersistenceUtil.loadFromOldMPSPersistence(VCSPersistenceUtil.java:82) at jetbrains.mps.vcspersistence.VCSPersistenceUtil.loadModel(VCSPersistenceUtil.java:36) at jetbrains.mps.vcs.changesmanager.BaseVersionUtil.getBaseVersionModel(BaseVersionUtil.java:104) at jetbrains.mps.vcs.changesmanager.ChangesTracking.update(ChangesTracking.java:198) at jetbrains.mps.vcs.changesmanager.ChangesTracking.access$100(ChangesTracking.java:91) at jetbrains.mps.vcs.changesmanager.ChangesTracking$12.run(ChangesTracking.java:360) at jetbrains.mps.vcs.changesmanager.SimpleCommandQueue$MyExecutorThread.run(SimpleCommandQueue.java:77)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.