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

YouTrack | 3 years ago
  1. 0

    [build:IC-999.SNAPSHOT] Exception: Can't cast node: ~ClassLoader$NativeLibrary, concept: jetbrains.mps.baseLanguage.structure.ClassConcept to concept: jetbrains.mps.baseLanguage.structure.Classifier

    YouTrack | 3 years 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
  2. 0

    Dataflow Analysis cannot handle ClientServerInterface

    GitHub | 4 years ago | DomenikP
    jetbrains.mps.lang.smodel.generator.smodelAdapter.NodeCastException: Can't cast com.mbeddr.ext.components.structure.ClientServerInterface to com.mbeddr.core.expressions.structure.IDataflowVariable
  3. 0

    Code generation for com.itemis.smartmeter.ssec.tests.integration.flashcommands aborts with exception

    GitHub | 3 years ago | stephaneberle9
    jetbrains.mps.lang.smodel.generator.smodelAdapter.NodeCastException: Can't cast node: 1498287389677415019, concept: com.mbeddr.ext.compositecomponents.structure.CompositeComponent to concept: com.mbeddr.ext.components.structure.AtomicComponent
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NodeCastException after CMD+P on a FunctionCall

    GitHub | 1 year ago | slisson
    jetbrains.mps.lang.smodel.generator.smodelAdapter.NodeCastException: Can't cast node: 7448993981563018718, concept: com.mbeddr.core.expressions.structure.UnsignedInt16tType to concept: com.mbeddr.core.modules.structure.IFunctionLike
  6. 0

    [build:15.6382] Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(590,138),absolute(582,130),button=1,modifiers=Button1,clickCount=1] on frame0: Can't cast jetbrains.mps.lang.structure.structure.InterfaceConceptDeclaration to jetbrains.mps.lang.structure.structure.ConceptDeclaration

    YouTrack | 6 years ago
    jetbrains.mps.lang.smodel.generator.smodelAdapter.NodeCastException: Can't cast jetbrains.mps.lang.structure.structure.InterfaceConceptDeclaration to jetbrains.mps.lang.structure.structure.ConceptDeclaration

    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. 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()
    2. jetbrains.mps.lang
      SNodeOperations.cast
      1. jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations.cast(SNodeOperations.java:653)
      1 frame
    3. JetBrains mps
      SModelBase.getRootNodes
      1. jetbrains.mps.baseLanguage.javastub.ClassifierLoader$1.invoke(ClassifierLoader.java:78)
      2. jetbrains.mps.baseLanguage.javastub.ClassifierLoader$1.invoke(ClassifierLoader.java:76)
      3. jetbrains.mps.baseLanguage.javastub.ClassifierLoader.getClassifier(ClassifierLoader.java:46)
      4. jetbrains.mps.baseLanguage.javastub.ClassifierLoader.updateInnerClassifiers(ClassifierLoader.java:76)
      5. jetbrains.mps.baseLanguage.javastub.ClassifierLoader.getClassifier(ClassifierLoader.java:48)
      6. jetbrains.mps.baseLanguage.javastub.ASMModelLoader.updateModel(ASMModelLoader.java:38)
      7. jetbrains.mps.persistence.java.library.JavaClassStubModelDescriptor.createModel(JavaClassStubModelDescriptor.java:88)
      8. jetbrains.mps.persistence.java.library.JavaClassStubModelDescriptor.getSModelInternal(JavaClassStubModelDescriptor.java:58)
      9. jetbrains.mps.extapi.model.SModelBase.getRootNodes(SModelBase.java:107)
      9 frames
    4. jetbrains.mps.lang
      ModificationStatement_Constraints$2$1.createSearchScopeOrListOfNodes
      1. jetbrains.mps.lang.smodel.generator.smodelAdapter.SModelOperations.allNodesIncludingImported(SModelOperations.java:99)
      2. jetbrains.mps.lang.smodel.generator.smodelAdapter.SModelOperations.getRootsIncludingImported(SModelOperations.java:73)
      3. jetbrains.mps.lang.plugin.constraints.ModificationStatement_Constraints$2$1.createSearchScopeOrListOfNodes(ModificationStatement_Constraints.java:76)
      3 frames
    5. JetBrains mps
      LanguageErrorsComponent.check
      1. jetbrains.mps.smodel.runtime.base.BaseReferenceScopeProvider.createSearchScope(BaseReferenceScopeProvider.java:39)
      2. jetbrains.mps.smodel.runtime.base.BaseReferenceScopeProvider.createScope(BaseReferenceScopeProvider.java:59)
      3. jetbrains.mps.smodel.constraints.ReferenceDescriptor$OkReferenceDescriptor$1.compute(ReferenceDescriptor.java:116)
      4. jetbrains.mps.smodel.constraints.ReferenceDescriptor$OkReferenceDescriptor$1.compute(ReferenceDescriptor.java:111)
      5. jetbrains.mps.typesystem.inference.TypeContextManager.runTypecheckingAction(TypeContextManager.java:207)
      6. jetbrains.mps.typesystem.inference.TypeContextManager.runResolveAction(TypeContextManager.java:185)
      7. jetbrains.mps.smodel.constraints.ReferenceDescriptor$OkReferenceDescriptor.getScope(ReferenceDescriptor.java:111)
      8. jetbrains.mps.smodel.constraints.ModelConstraints.getScope(ModelConstraints.java:124)
      9. jetbrains.mps.checkers.RefScopeChecker.checkNode(RefScopeChecker.java:53)
      10. jetbrains.mps.checkers.LanguageErrorsComponent.check(LanguageErrorsComponent.java:175)
      10 frames
    6. typesystemIntegration.languageChecker
      LanguageEditorChecker$4.compute
      1. typesystemIntegration.languageChecker.LanguageEditorChecker.doCreateMessages(LanguageEditorChecker.java:215)
      2. typesystemIntegration.languageChecker.LanguageEditorChecker$4.compute(LanguageEditorChecker.java:163)
      3. typesystemIntegration.languageChecker.LanguageEditorChecker$4.compute(LanguageEditorChecker.java:160)
      3 frames
    7. JetBrains mps
      TypeContextManager.runTypeCheckingComputation
      1. jetbrains.mps.typesystem.inference.TypeContextManager.runTypeCheckingComputation(TypeContextManager.java:172)
      1 frame
    8. typesystemIntegration.languageChecker
      LanguageEditorChecker.createMessages
      1. typesystemIntegration.languageChecker.LanguageEditorChecker.createMessages(LanguageEditorChecker.java:160)
      1 frame
    9. JetBrains mps
      WorkbenchModelAccess$3.compute
      1. jetbrains.mps.nodeEditor.checking.BaseEditorChecker$1.run(BaseEditorChecker.java:37)
      2. jetbrains.mps.nodeEditor.checking.BaseEditorChecker.performUninterruptableAction(BaseEditorChecker.java:136)
      3. jetbrains.mps.nodeEditor.checking.BaseEditorChecker.createMessagesProtected(BaseEditorChecker.java:34)
      4. jetbrains.mps.nodeEditor.Highlighter$12.compute(Highlighter.java:551)
      5. jetbrains.mps.nodeEditor.Highlighter$12.compute(Highlighter.java:532)
      6. jetbrains.mps.nodeEditor.Highlighter$14.compute(Highlighter.java:617)
      7. jetbrains.mps.ide.smodel.WorkbenchModelAccess$3.compute(WorkbenchModelAccess.java:137)
      7 frames
    10. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:961)
      1 frame
    11. JetBrains mps
      Highlighter$HighlighterThread.run
      1. jetbrains.mps.ide.smodel.WorkbenchModelAccess.runReadAction(WorkbenchModelAccess.java:132)
      2. jetbrains.mps.nodeEditor.Highlighter.runLoPrioRead(Highlighter.java:613)
      3. jetbrains.mps.nodeEditor.Highlighter.updateEditor(Highlighter.java:532)
      4. jetbrains.mps.nodeEditor.Highlighter.access$1200(Highlighter.java:63)
      5. jetbrains.mps.nodeEditor.Highlighter$10.compute(Highlighter.java:492)
      6. jetbrains.mps.nodeEditor.Highlighter$10.compute(Highlighter.java:450)
      7. jetbrains.mps.nodeEditor.Highlighter.runUpdateMessagesAction(Highlighter.java:444)
      8. jetbrains.mps.nodeEditor.Highlighter.updateEditorComponent(Highlighter.java:450)
      9. jetbrains.mps.nodeEditor.Highlighter.access$800(Highlighter.java:63)
      10. jetbrains.mps.nodeEditor.Highlighter$7.run(Highlighter.java:366)
      11. jetbrains.mps.typesystem.inference.TypeContextManager.runTypecheckingAction(TypeContextManager.java:194)
      12. jetbrains.mps.nodeEditor.Highlighter.doUpdate(Highlighter.java:363)
      13. jetbrains.mps.nodeEditor.Highlighter$HighlighterThread.run(Highlighter.java:659)
      13 frames