java.lang.ClassCastException: com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to java.lang.String

GitHub | fharms | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Documentation : com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to java.lang.String

    GitHub | 2 months ago | fharms
    java.lang.ClassCastException: com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to java.lang.String
  2. 0

    NPE in doc provider

    GitHub | 1 year ago | bjansen
    java.lang.NullPointerException
  3. 0

    Failed to bind stub to AST

    YouTrack | 4 years ago
    java.lang.IllegalArgumentException: Failed to bind stub to AST for element class com.intellij.lang.javascript.psi.impl.JSFunctionImpl in xxxxxx/jquery.js File stub tree: PsiFileStubImpl Loaded file AST: JSFile:jquery.js PsiComment(JS:C_STYLE_COMMENT)('/*!\n * jQuery JavaScript Library v1.5.2\n * http://jquery.com/\n *\n * Copyright 2011, John Resig\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * Includes Sizzle.js\n * http://sizzlejs.com/\n * Copyright 2011, The Dojo Foundation\n * Released under the MIT, BSD, and GPL Licenses.\n *\n * Date: Thu Mar 31 15:28:23 2011 -0400\n */') JSExpressionStatement JSCallExpression JSParenthesizedExpression PsiElement(JS:LPAR)('(') JSFunctionExpression PsiElement(JS:FUNCTION_KEYWORD)('function') JSParameterList PsiElement(JS:LPAR)('(') JSParameter PsiElement(JS:IDENTIFIER)('a') PsiElement(JS:COMMA)(',') JSParameter PsiElement(JS:IDENTIFIER)('b') PsiElement(JS:RPAR)(')') JSBlockStatement PsiElement(JS:LBRACE)('{') JSFunction PsiElement(JS ...
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception when showing javadoc popup

    YouTrack | 5 years ago
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
  6. 0

    Quick dop popup: Cannot fetch remote documentation: String index out of range: -1

    YouTrack | 5 years ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

    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.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to java.lang.String

      at org.apache.camel.idea.documentation.CamelDocumentationProvider.getDocumentationElementForLookupItem()
    2. org.apache.camel
      CamelDocumentationProvider.getDocumentationElementForLookupItem
      1. org.apache.camel.idea.documentation.CamelDocumentationProvider.getDocumentationElementForLookupItem(CamelDocumentationProvider.java:163)
      1 frame
    3. Openapi
      CompositeDocumentationProvider.getDocumentationElementForLookupItem
      1. com.intellij.lang.documentation.CompositeDocumentationProvider.getDocumentationElementForLookupItem(CompositeDocumentationProvider.java:156)
      1 frame
    4. IDEA
      CodeInsightAction.lambda$null$0
      1. com.intellij.codeInsight.documentation.DocumentationManager.getElementFromLookup(DocumentationManager.java:645)
      2. com.intellij.codeInsight.documentation.DocumentationManager.a(DocumentationManager.java:588)
      3. com.intellij.codeInsight.documentation.DocumentationManager.findTargetElement(DocumentationManager.java:573)
      4. com.intellij.codeInsight.documentation.DocumentationManager.findTargetElement(DocumentationManager.java:567)
      5. com.intellij.codeInsight.documentation.DocumentationManager.findTargetElement(DocumentationManager.java:394)
      6. com.intellij.codeInsight.documentation.DocumentationManager.showJavaDocInfo(DocumentationManager.java:335)
      7. com.intellij.codeInsight.documentation.DocumentationManager.showJavaDocInfo(DocumentationManager.java:311)
      8. com.intellij.codeInsight.documentation.actions.ShowQuickDocInfoAction$1.invoke(ShowQuickDocInfoAction.java:52)
      9. com.intellij.codeInsight.actions.CodeInsightAction.lambda$null$0(CodeInsightAction.java:64)
      9 frames