java.lang.ClassCastException: org.eclipse.xtext.idea.common.types.StubJvmTypeProvider cannot be cast to org.eclipse.xtext.common.types.access.impl.ClasspathTypeProvider

GitHub | cdietrich | 5 months ago
  1. 0

    GitHub comment 2#230462075

    GitHub | 5 months ago | cdietrich
    java.lang.ClassCastException: org.eclipse.xtext.idea.common.types.StubJvmTypeProvider cannot be cast to org.eclipse.xtext.common.types.access.impl.ClasspathTypeProvider
  2. 0

    infinite exception loop during generation

    GitHub | 5 years ago | abelhegedus
    java.lang.ClassCastException: org.eclipse.xtext.common.types.access.impl.ClasspathTypeProvider cannot be cast to org.eclipse.xtext.common.types.access.jdt.IJdtTypeProvider
  3. 0

    Intermittent Scoping exceptions

    Eclipse Bugzilla | 4 years ago | istvanrath
    java.lang.ClassCastException: org.eclipse.xtext.common.types.access.impl.ClasspathTypeProvider cannot be cast to org.eclipse.xtext.common.types.access.jdt.IJdtTypeProvider
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exceptions thrown when programmatically requesting Specification at runtime and pattern contains Java import

    Eclipse Bugzilla | 2 years ago | janreimone
    java.lang.IllegalStateException: The TypeResolutionStateAdapter was removed while resolving
  6. 0

    Intermittent Scoping exceptions

    Eclipse Bugzilla | 4 years ago | istvanrath
    java.lang.ClassCastException: org.eclipse.xtext.common.types.access.impl.ClasspathTypeProvider cannot be cast to org.eclipse.xtext.common.types.access.jdt.IJdtTypeProvider

    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.ClassCastException

      org.eclipse.xtext.idea.common.types.StubJvmTypeProvider cannot be cast to org.eclipse.xtext.common.types.access.impl.ClasspathTypeProvider

      at org.eclipse.xtext.common.types.xtext.ClasspathBasedTypeScopeProvider.createTypeScope()
    2. org.eclipse.xtext
      BaseXtextFile$1.compute
      1. org.eclipse.xtext.common.types.xtext.ClasspathBasedTypeScopeProvider.createTypeScope(ClasspathBasedTypeScopeProvider.java:35)
      2. org.eclipse.xtext.common.types.xtext.ClasspathBasedTypeScopeProvider.createTypeScope(ClasspathBasedTypeScopeProvider.java:1)
      3. org.eclipse.xtext.common.types.xtext.AbstractTypeScopeProvider.getScope(AbstractTypeScopeProvider.java:55)
      4. org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.getScope(TypesAwareDefaultGlobalScopeProvider.java:38)
      5. org.eclipse.xtext.scoping.impl.AbstractGlobalScopeDelegatingScopeProvider.getGlobalScope(AbstractGlobalScopeDelegatingScopeProvider.java:46)
      6. org.eclipse.xtext.scoping.impl.AbstractGlobalScopeDelegatingScopeProvider.getGlobalScope(AbstractGlobalScopeDelegatingScopeProvider.java:42)
      7. org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getResourceScope(ImportedNamespaceAwareLocalScopeProvider.java:104)
      8. org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getScope(ImportedNamespaceAwareLocalScopeProvider.java:97)
      9. org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getScope(ImportedNamespaceAwareLocalScopeProvider.java:95)
      10. org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegateGetScope(AbstractDeclarativeScopeProvider.java:72)
      11. org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.getScope(AbstractDeclarativeScopeProvider.java:104)
      12. org.eclipse.xtext.linking.impl.DefaultLinkingService.getScope(DefaultLinkingService.java:59)
      13. org.eclipse.xtext.linking.impl.DefaultLinkingService.getLinkedObjects(DefaultLinkingService.java:119)
      14. org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:247)
      15. org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:222)
      16. org.eclipse.xtext.linking.lazy.LazyLinkingResource.doResolveLazyCrossReference(LazyLinkingResource.java:189)
      17. org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReference(LazyLinkingResource.java:148)
      18. org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReferences(LazyLinkingResource.java:134)
      19. org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:498)
      20. org.eclipse.xtext.psi.impl.BaseXtextFile.createResource(BaseXtextFile.java:149)
      21. org.eclipse.xtext.psi.impl.BaseXtextFile$1.compute(BaseXtextFile.java:89)
      21 frames
    3. IDEA
      PsiCachedValueImpl.getValue
      1. com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
      2. com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
      3. com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:66)
      4. com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
      4 frames
    4. org.eclipse.xtext
      XtextPsiReferenceImpl.getRanges
      1. org.eclipse.xtext.psi.impl.BaseXtextFile.getResource(BaseXtextFile.java:108)
      2. org.eclipse.xtext.psi.impl.BaseXtextFile.getINode(BaseXtextFile.java:112)
      3. org.eclipse.xtext.psi.impl.XtextPsiReferenceImpl.getCrossReferenceDescription(XtextPsiReferenceImpl.java:192)
      4. org.eclipse.xtext.psi.impl.XtextPsiReferenceImpl.getRangeToHighlightInElement(XtextPsiReferenceImpl.java:89)
      5. org.eclipse.xtext.psi.impl.XtextPsiReferenceImpl.getRanges(XtextPsiReferenceImpl.java:143)
      5 frames
    5. IDEA
      JobLauncherImpl$VoidForkJoinTask$1.exec
      1. com.intellij.psi.ReferenceRange.getRanges(ReferenceRange.java:36)
      2. com.intellij.psi.impl.SharedPsiElementImplUtil.addReferences(SharedPsiElementImplUtil.java:82)
      3. com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:49)
      4. com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:67)
      5. com.intellij.psi.impl.PsiElementBase.findReferenceAt(PsiElementBase.java:87)
      6. com.intellij.psi.SingleRootFileViewProvider.findReferenceAt(SingleRootFileViewProvider.java:490)
      7. com.intellij.psi.SingleRootFileViewProvider.findReferenceAt(SingleRootFileViewProvider.java:462)
      8. com.intellij.psi.impl.source.PsiFileImpl.findReferenceAt(PsiFileImpl.java:617)
      9. com.intellij.codeInsight.TargetElementUtil.findReference(TargetElementUtil.java:144)
      10. com.intellij.codeInsight.TargetElementUtil.doGetReferenceOrReferencedElement(TargetElementUtil.java:392)
      11. com.intellij.codeInsight.TargetElementUtil.getReferenceOrReferencedElement(TargetElementUtil.java:380)
      12. com.intellij.codeInsight.TargetElementUtil.doFindTargetElement(TargetElementUtil.java:247)
      13. com.intellij.codeInsight.TargetElementUtil.findTargetElement(TargetElementUtil.java:216)
      14. com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:91)
      15. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
      16. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:444)
      17. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178)
      18. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:435)
      19. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
      20. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
      21. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      22. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:432)
      23. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
      24. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:206)
      24 frames
    6. Quasar
      ForkJoinWorkerThread.run
      1. jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
      3. jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
      4. jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
      5. jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:108)
      5 frames