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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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 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 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 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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.