java.lang.ClassCastException: com.jetbrains.cidr.lang.symbols.cpp.OCDeclaratorSymbol cannot be cast to com.jetbrains.cidr.lang.symbols.cpp.OCFunctionSymbol

YouTrack | 4 months ago
  1. 0

    Exception while evaluating sizeof expression in some cases

    YouTrack | 4 months ago
    java.lang.ClassCastException: com.jetbrains.cidr.lang.symbols.cpp.OCDeclaratorSymbol cannot be cast to com.jetbrains.cidr.lang.symbols.cpp.OCFunctionSymbol
  2. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  3. 0

    Scala 2.11.5 and Squeryl?

    Google Groups | 2 years ago | Clint Gilbert
    java.lang.ClassCastException: scala.None$ cannot be cast to
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    adam2vcf

    Google Groups | 8 months ago | someya sayeh
    java.lang.ClassCastException: org.bdgenomics.formats.avro.Fragment cannot be cast to
  6. 0

    cannot be cast to javax.servlet.Filter

    Oracle Community | 6 years ago | YE
    java.lang.ClassCastException: cannot be cast to javax.servlet.Filter

    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

      com.jetbrains.cidr.lang.symbols.cpp.OCDeclaratorSymbol cannot be cast to com.jetbrains.cidr.lang.symbols.cpp.OCFunctionSymbol

      at com.jetbrains.cidr.lang.resolve.references.OCOperatorReference.resolveOperator()
    2. com.jetbrains.cidr
      OCSimpleTypeSubstitution$2.fun
      1. com.jetbrains.cidr.lang.resolve.references.OCOperatorReference.resolveOperator(OCOperatorReference.java:265)
      2. com.jetbrains.cidr.lang.symbols.expression.OCCallExpressionSymbol.getResolvedType(OCCallExpressionSymbol.java:98)
      3. com.jetbrains.cidr.lang.resolve.OCArgumentsList.expandVariadicExpressions(OCArgumentsList.java:93)
      4. com.jetbrains.cidr.lang.symbols.expression.OCCallExpressionSymbol.a(OCCallExpressionSymbol.java:108)
      5. com.jetbrains.cidr.lang.symbols.expression.OCCallExpressionSymbol.resolveOverloads(OCCallExpressionSymbol.java:124)
      6. com.jetbrains.cidr.lang.symbols.expression.OCReferenceExpressionSymbol.resolveToSymbol(OCReferenceExpressionSymbol.java:68)
      7. com.jetbrains.cidr.lang.symbols.expression.OCCallExpressionSymbol.getResolvedType(OCCallExpressionSymbol.java:75)
      8. com.jetbrains.cidr.lang.util.OCExpressionEvaluator$ValueEvaluator.evalSizeof(OCExpressionEvaluator.java:730)
      9. com.jetbrains.cidr.lang.symbols.expression.OCSizeofExpressionSymbol.evaluate(OCSizeofExpressionSymbol.java:69)
      10. com.jetbrains.cidr.lang.util.OCExpressionEvaluator.a(OCExpressionEvaluator.java:400)
      11. com.jetbrains.cidr.lang.util.OCExpressionEvaluator.evaluate(OCExpressionEvaluator.java:381)
      12. com.jetbrains.cidr.lang.util.OCExpressionEvaluator$ValueEvaluator.evalReference(OCExpressionEvaluator.java:723)
      13. com.jetbrains.cidr.lang.symbols.expression.OCReferenceExpressionSymbol.evaluate(OCReferenceExpressionSymbol.java:76)
      14. com.jetbrains.cidr.lang.util.OCExpressionEvaluator.evaluate(OCExpressionEvaluator.java:202)
      15. com.jetbrains.cidr.lang.symbols.expression.OCExpressionSymbol.evaluateToTypeArgument(OCExpressionSymbol.java:54)
      16. com.jetbrains.cidr.lang.symbols.expression.OCReferenceExpressionSymbol.evaluateToTypeArgument(OCReferenceExpressionSymbol.java:82)
      17. com.jetbrains.cidr.lang.types.visitors.OCSimpleTypeSubstitution.resolveTypeArgument(OCSimpleTypeSubstitution.java:427)
      18. com.jetbrains.cidr.lang.types.visitors.OCSimpleTypeSubstitution.resolveTypeArgument(OCSimpleTypeSubstitution.java:411)
      19. com.jetbrains.cidr.lang.types.visitors.OCSimpleTypeSubstitution$2.fun(OCSimpleTypeSubstitution.java:115)
      20. com.jetbrains.cidr.lang.types.visitors.OCSimpleTypeSubstitution$2.fun(OCSimpleTypeSubstitution.java:112)
      20 frames
    3. IDEA
      ContainerUtil.map
      1. com.intellij.util.containers.ContainerUtil.map(ContainerUtil.java:1827)
      1 frame
    4. com.jetbrains.cidr
      OCTypeResolveVisitor$Resolver.process
      1. com.jetbrains.cidr.lang.types.visitors.OCSimpleTypeSubstitution.resolveTemplateSpecialization(OCSimpleTypeSubstitution.java:112)
      2. com.jetbrains.cidr.lang.symbols.OCSymbolReference.resolveTemplateSpecialization(OCSymbolReference.java:719)
      3. com.jetbrains.cidr.lang.symbols.OCSymbolReference.doResolve(OCSymbolReference.java:655)
      4. com.jetbrains.cidr.lang.symbols.OCSymbolReference.resolveToSymbols(OCSymbolReference.java:537)
      5. com.jetbrains.cidr.lang.symbols.OCResolveContext.doResolveToSymbols(OCResolveContext.java:114)
      6. com.jetbrains.cidr.lang.symbols.OCResolveContext.resolveToSymbols(OCResolveContext.java:130)
      7. com.jetbrains.cidr.lang.symbols.OCSymbolReference.doResolve(OCSymbolReference.java:631)
      8. com.jetbrains.cidr.lang.symbols.OCSymbolReference.resolveToSymbols(OCSymbolReference.java:537)
      9. com.jetbrains.cidr.lang.symbols.OCResolveContext.doResolveToSymbols(OCResolveContext.java:114)
      10. com.jetbrains.cidr.lang.symbols.OCResolveContext.resolveToSymbols(OCResolveContext.java:130)
      11. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor.a(OCTypeResolveVisitor.java:375)
      12. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor.a(OCTypeResolveVisitor.java:288)
      13. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor.getCachedOrResolve(OCTypeResolveVisitor.java:170)
      14. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor.visitReferenceType(OCTypeResolveVisitor.java:132)
      15. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor.visitReferenceType(OCTypeResolveVisitor.java:44)
      16. com.jetbrains.cidr.lang.types.OCReferenceType.accept(OCReferenceType.java:55)
      17. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor$Resolver.process(OCTypeResolveVisitor.java:452)
      18. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor$Resolver.process(OCTypeResolveVisitor.java:387)
      18 frames
    5. IDEA
      ContainerUtil.process
      1. com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:825)
      1 frame
    6. com.jetbrains.cidr
      OCSimpleTypeSubstitution$2.fun
      1. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor.a(OCTypeResolveVisitor.java:381)
      2. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor.a(OCTypeResolveVisitor.java:288)
      3. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor.getCachedOrResolve(OCTypeResolveVisitor.java:170)
      4. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor.visitReferenceType(OCTypeResolveVisitor.java:132)
      5. com.jetbrains.cidr.lang.types.visitors.OCTypeResolveVisitor.visitReferenceType(OCTypeResolveVisitor.java:44)
      6. com.jetbrains.cidr.lang.types.OCReferenceType.accept(OCReferenceType.java:55)
      7. com.jetbrains.cidr.lang.types.OCType.transformType(OCType.java:585)
      8. com.jetbrains.cidr.lang.types.visitors.OCSimpleTypeSubstitution.resolveTypeArgument(OCSimpleTypeSubstitution.java:424)
      9. com.jetbrains.cidr.lang.types.visitors.OCSimpleTypeSubstitution.resolveTypeArgument(OCSimpleTypeSubstitution.java:411)
      10. com.jetbrains.cidr.lang.types.visitors.OCSimpleTypeSubstitution$2.fun(OCSimpleTypeSubstitution.java:115)
      11. com.jetbrains.cidr.lang.types.visitors.OCSimpleTypeSubstitution$2.fun(OCSimpleTypeSubstitution.java:112)
      11 frames
    7. IDEA
      ContainerUtil.map
      1. com.intellij.util.containers.ContainerUtil.map(ContainerUtil.java:1827)
      1 frame
    8. com.jetbrains.cidr
      OCReferenceElementImpl$MyResolver.resolve
      1. com.jetbrains.cidr.lang.types.visitors.OCSimpleTypeSubstitution.resolveTemplateSpecialization(OCSimpleTypeSubstitution.java:112)
      2. com.jetbrains.cidr.lang.symbols.OCSymbolReference.resolveTemplateSpecialization(OCSymbolReference.java:719)
      3. com.jetbrains.cidr.lang.symbols.OCSymbolReference.doResolve(OCSymbolReference.java:655)
      4. com.jetbrains.cidr.lang.symbols.OCSymbolReference.resolveToSymbols(OCSymbolReference.java:537)
      5. com.jetbrains.cidr.lang.symbols.OCSymbolReference.resolveToSymbols(OCSymbolReference.java:171)
      6. com.jetbrains.cidr.lang.symbols.OCSymbolReference.processPossibleSymbols(OCSymbolReference.java:135)
      7. com.jetbrains.cidr.lang.psi.impl.OCReferenceElementImpl.a(OCReferenceElementImpl.java:257)
      8. com.jetbrains.cidr.lang.psi.impl.OCReferenceElementImpl.resolveToSymbol(OCReferenceElementImpl.java:382)
      9. com.jetbrains.cidr.lang.psi.impl.OCReferenceElementImpl$MyResolver.resolve(OCReferenceElementImpl.java:158)
      10. com.jetbrains.cidr.lang.psi.impl.OCReferenceElementImpl$MyResolver.resolve(OCReferenceElementImpl.java:148)
      10 frames
    9. IDEA
      ResolveCache.resolveWithCaching
      1. com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:144)
      2. com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:213)
      2 frames
    10. com.jetbrains.cidr
      OCReferenceElementImpl.isReferenceTo
      1. com.jetbrains.cidr.lang.psi.impl.OCReferenceElementImpl.resolveToSymbol(OCReferenceElementImpl.java:175)
      2. com.jetbrains.cidr.lang.psi.impl.OCReferenceElementImpl.resolveToSymbol(OCReferenceElementImpl.java:169)
      3. com.jetbrains.cidr.lang.psi.impl.OCReferenceElementImpl.isReferenceTo(OCReferenceElementImpl.java:893)
      3 frames
    11. IDEA
      UniqueResultsQuery.forEach
      1. com.intellij.psi.search.SingleTargetRequestResultProcessor.processTextOccurrence(SingleTargetRequestResultProcessor.java:52)
      2. com.intellij.psi.impl.search.PsiSearchHelperImpl$10.execute(PsiSearchHelperImpl.java:736)
      3. com.intellij.psi.impl.search.LowLevelSearchUtil.a(LowLevelSearchUtil.java:137)
      4. com.intellij.psi.impl.search.LowLevelSearchUtil.a(LowLevelSearchUtil.java:205)
      5. com.intellij.psi.impl.search.LowLevelSearchUtil.processTextOccurrences(LowLevelSearchUtil.java:271)
      6. com.intellij.psi.impl.search.LowLevelSearchUtil.processElementsContainingWordInElement(LowLevelSearchUtil.java:203)
      7. com.intellij.psi.impl.search.PsiSearchHelperImpl$3.processInReadAction(PsiSearchHelperImpl.java:231)
      8. com.intellij.psi.impl.search.PsiSearchHelperImpl$3.processInReadAction(PsiSearchHelperImpl.java:227)
      9. com.intellij.openapi.application.ReadActionProcessor$1.compute(ReadActionProcessor.java:32)
      10. com.intellij.openapi.application.ReadActionProcessor$1.compute(ReadActionProcessor.java:29)
      11. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:870)
      12. com.intellij.openapi.application.ReadActionProcessor.process(ReadActionProcessor.java:29)
      13. com.intellij.psi.impl.search.PsiSearchHelperImpl$4.compute(PsiSearchHelperImpl.java:378)
      14. com.intellij.psi.impl.search.PsiSearchHelperImpl$4.compute(PsiSearchHelperImpl.java:360)
      15. com.intellij.openapi.application.ex.ApplicationUtil$1.run(ApplicationUtil.java:37)
      16. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1030)
      17. com.intellij.openapi.application.ex.ApplicationUtil.tryRunReadAction(ApplicationUtil.java:34)
      18. com.intellij.psi.impl.search.PsiSearchHelperImpl.a(PsiSearchHelperImpl.java:360)
      19. com.intellij.psi.impl.search.PsiSearchHelperImpl.a(PsiSearchHelperImpl.java:313)
      20. com.intellij.concurrency.JobLauncherImpl.a(JobLauncherImpl.java:99)
      21. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:568)
      22. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)
      23. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      24. com.intellij.concurrency.JobLauncherImpl.a(JobLauncherImpl.java:95)
      25. com.intellij.concurrency.JobLauncherImpl.a(JobLauncherImpl.java:109)
      26. com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:52)
      27. com.intellij.psi.impl.search.PsiSearchHelperImpl.a(PsiSearchHelperImpl.java:325)
      28. com.intellij.psi.impl.search.PsiSearchHelperImpl.a(PsiSearchHelperImpl.java:281)
      29. com.intellij.psi.impl.search.PsiSearchHelperImpl.processElementsWithWord(PsiSearchHelperImpl.java:177)
      30. com.intellij.psi.impl.search.PsiSearchHelperImpl.a(PsiSearchHelperImpl.java:905)
      31. com.intellij.psi.impl.search.PsiSearchHelperImpl.a(PsiSearchHelperImpl.java:646)
      32. com.intellij.psi.impl.search.PsiSearchHelperImpl.processRequests(PsiSearchHelperImpl.java:594)
      33. com.intellij.psi.search.SearchRequestQuery.processResults(SearchRequestQuery.java:45)
      34. com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:79)
      35. com.intellij.util.MergeQuery.processSubQuery(MergeQuery.java:85)
      36. com.intellij.util.MergeQuery.forEach(MergeQuery.java:57)
      37. com.intellij.util.UniqueResultsQuery.process(UniqueResultsQuery.java:66)
      38. com.intellij.util.UniqueResultsQuery.forEach(UniqueResultsQuery.java:56)
      38 frames
    12. com.jetbrains.cidr
      OCElementBase.accept
      1. com.jetbrains.cidr.lang.inspections.OCUnusedCodeInspection$UnusedVisitor.a(OCUnusedCodeInspection.java:295)
      2. com.jetbrains.cidr.lang.inspections.OCUnusedCodeInspection$UnusedVisitor.checkSymbolUsed(OCUnusedCodeInspection.java:240)
      3. com.jetbrains.cidr.lang.inspections.OCUnusedCodeInspection$UnusedVisitor.checkSymbolUsed(OCUnusedCodeInspection.java:138)
      4. com.jetbrains.cidr.lang.inspections.OCUnusedStructInspection$1.visitStructLike(OCUnusedStructInspection.java:17)
      5. com.jetbrains.cidr.lang.psi.visitors.OCVisitor.visitStruct(OCVisitor.java:328)
      6. com.jetbrains.cidr.lang.psi.impl.OCStructImpl.accept(OCStructImpl.java:29)
      7. com.jetbrains.cidr.lang.psi.impl.OCElementBase.accept(OCElementBase.java:75)
      7 frames
    13. IDEA
      ApplierCompleter.compute
      1. com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:81)
      2. com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:69)
      3. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:281)
      4. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:249)
      5. com.intellij.concurrency.ApplierCompleter.b(ApplierCompleter.java:123)
      6. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1030)
      7. com.intellij.concurrency.ApplierCompleter.a(ApplierCompleter.java:96)
      8. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:568)
      9. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)
      10. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      11. com.intellij.concurrency.ApplierCompleter.b(ApplierCompleter.java:106)
      12. com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:91)
      12 frames
    14. Java RT
      ForkJoinPool.invoke
      1. java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
      2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      3. java.util.concurrent.ForkJoinPool$WorkQueue.pollAndExecCC(ForkJoinPool.java:1190)
      4. java.util.concurrent.ForkJoinPool.helpComplete(ForkJoinPool.java:1879)
      5. java.util.concurrent.ForkJoinPool.awaitJoin(ForkJoinPool.java:2045)
      6. java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:390)
      7. java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719)
      8. java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2616)
      8 frames
    15. IDEA
      JobLauncherImpl$VoidForkJoinTask$1.exec
      1. com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:60)
      2. com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:57)
      3. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:251)
      4. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:223)
      5. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:129)
      6. com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:82)
      7. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
      8. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:421)
      9. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1036)
      10. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:414)
      11. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:568)
      12. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)
      13. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      14. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:413)
      15. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:393)
      16. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:154)
      16 frames
    16. Java RT
      ForkJoinWorkerThread.run
      1. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      2. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      3. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      4. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      4 frames