jetbrains.mps.lang.smodel.generator.smodelAdapter.NodeCastException: Can't cast node: ~ClassLoader$NativeLibrary, concept: jetbrains.mps.baseLanguage.structure.ClassConcept to concept: jetbrains.mps.baseLanguage.structure.Classifier

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

via YouTrack by Unknown author, 1 year ago
Can't cast node: ~ClassLoader$NativeLibrary, concept: jetbrains.mps.baseLanguage.structure.ClassConcept to concept: jetbrains.mps.baseLanguage.structure.Classifier
via YouTrack by Unknown author, 1 year ago
via YouTrack by Unknown author, 1 year ago
Can't cast node: 1358829565357622479, concept: com.mbeddr.cpp.classes.structure.ConstructorImplementation to concept: com.mbeddr.cpp.classes.structure.MethodDeclaration
via YouTrack by Unknown author, 1 year ago
jetbrains.mps.lang.smodel.generator.smodelAdapter.NodeCastException: Can't cast node: ~ClassLoader$NativeLibrary, concept: jetbrains.mps.baseLanguage.structure.ClassConcept to concept: jetbrains.mps.baseLanguage.structure.Classifier
at jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations.cast(SNodeOperations.java:653)
at jetbrains.mps.baseLanguage.javastub.ClassifierLoader$1.invoke(ClassifierLoader.java:78)
at jetbrains.mps.baseLanguage.javastub.ClassifierLoader$1.invoke(ClassifierLoader.java:76)
at jetbrains.mps.baseLanguage.javastub.ClassifierLoader.getClassifier(ClassifierLoader.java:46)
at jetbrains.mps.baseLanguage.javastub.ClassifierLoader.updateInnerClassifiers(ClassifierLoader.java:76)
at jetbrains.mps.baseLanguage.javastub.ClassifierLoader.getClassifier(ClassifierLoader.java:48)
at jetbrains.mps.baseLanguage.javastub.ASMModelLoader.updateModel(ASMModelLoader.java:38)
at jetbrains.mps.persistence.java.library.JavaClassStubModelDescriptor.createModel(JavaClassStubModelDescriptor.java:88)
at jetbrains.mps.persistence.java.library.JavaClassStubModelDescriptor.getSModelInternal(JavaClassStubModelDescriptor.java:58)
at jetbrains.mps.lang.smodel.generator.smodelAdapter.SModelOperations.allNodesIncludingImported(SModelOperations.java:99)
at jetbrains.mps.lang.smodel.generator.smodelAdapter.SModelOperations.getRootsIncludingImported(SModelOperations.java:73)
at jetbrains.mps.lang.plugin.constraints.ModificationStatement_Constraints$2$1.createSearchScopeOrListOfNodes(ModificationStatement_Constraints.java:76)
at jetbrains.mps.smodel.runtime.base.BaseReferenceScopeProvider.createSearchScope(BaseReferenceScopeProvider.java:39)
at jetbrains.mps.smodel.runtime.base.BaseReferenceScopeProvider.createScope(BaseReferenceScopeProvider.java:59)
at jetbrains.mps.smodel.constraints.ReferenceDescriptor$OkReferenceDescriptor$1.compute(ReferenceDescriptor.java:116)
at jetbrains.mps.smodel.constraints.ReferenceDescriptor$OkReferenceDescriptor$1.compute(ReferenceDescriptor.java:111)
at jetbrains.mps.typesystem.inference.TypeContextManager.runTypecheckingAction(TypeContextManager.java:207)
at jetbrains.mps.typesystem.inference.TypeContextManager.runResolveAction(TypeContextManager.java:185)
at jetbrains.mps.smodel.constraints.ReferenceDescriptor$OkReferenceDescriptor.getScope(ReferenceDescriptor.java:111)
at jetbrains.mps.smodel.constraints.ModelConstraints.getScope(ModelConstraints.java:124)
at jetbrains.mps.checkers.RefScopeChecker.checkNode(RefScopeChecker.java:53)
at jetbrains.mps.checkers.LanguageErrorsComponent.check(LanguageErrorsComponent.java:175)
at typesystemIntegration.languageChecker.LanguageEditorChecker.doCreateMessages(LanguageEditorChecker.java:215)
at typesystemIntegration.languageChecker.LanguageEditorChecker$4.compute(LanguageEditorChecker.java:163)
at typesystemIntegration.languageChecker.LanguageEditorChecker$4.compute(LanguageEditorChecker.java:160)
at typesystemIntegration.languageChecker.LanguageEditorChecker.createMessages(LanguageEditorChecker.java:160)
at jetbrains.mps.nodeEditor.checking.BaseEditorChecker$1.run(BaseEditorChecker.java:37)
at jetbrains.mps.nodeEditor.checking.BaseEditorChecker.performUninterruptableAction(BaseEditorChecker.java:136)
at jetbrains.mps.nodeEditor.checking.BaseEditorChecker.createMessagesProtected(BaseEditorChecker.java:34)
at jetbrains.mps.nodeEditor.Highlighter$12.compute(Highlighter.java:551)
at jetbrains.mps.nodeEditor.Highlighter$12.compute(Highlighter.java:532)
at jetbrains.mps.nodeEditor.Highlighter$14.compute(Highlighter.java:617)
at jetbrains.mps.ide.smodel.WorkbenchModelAccess.runReadAction(WorkbenchModelAccess.java:132)
at jetbrains.mps.nodeEditor.Highlighter.runLoPrioRead(Highlighter.java:613)
at jetbrains.mps.nodeEditor.Highlighter.updateEditor(Highlighter.java:532)
at jetbrains.mps.nodeEditor.Highlighter.access$1200(Highlighter.java:63)
at jetbrains.mps.nodeEditor.Highlighter$10.compute(Highlighter.java:492)
at jetbrains.mps.nodeEditor.Highlighter$10.compute(Highlighter.java:450)
at jetbrains.mps.nodeEditor.Highlighter.runUpdateMessagesAction(Highlighter.java:444)
at jetbrains.mps.nodeEditor.Highlighter.updateEditorComponent(Highlighter.java:450)
at jetbrains.mps.nodeEditor.Highlighter.access$800(Highlighter.java:63)
at jetbrains.mps.nodeEditor.Highlighter$7.run(Highlighter.java:366)
at jetbrains.mps.typesystem.inference.TypeContextManager.runTypecheckingAction(TypeContextManager.java:194)
at jetbrains.mps.nodeEditor.Highlighter.doUpdate(Highlighter.java:363)

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.

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