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

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 GitHub by fharms
, 9 months ago
com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to java.lang.String
java.lang.ClassCastException: com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to java.lang.String
at org.apache.camel.idea.documentation.CamelDocumentationProvider.getDocumentationElementForLookupItem(CamelDocumentationProvider.java:163)
at com.intellij.codeInsight.documentation.DocumentationManager.getElementFromLookup(DocumentationManager.java:645)
at com.intellij.codeInsight.documentation.DocumentationManager.a(DocumentationManager.java:588)
at com.intellij.codeInsight.documentation.DocumentationManager.findTargetElement(DocumentationManager.java:573)
at com.intellij.codeInsight.documentation.DocumentationManager.findTargetElement(DocumentationManager.java:567)
at com.intellij.codeInsight.documentation.DocumentationManager.findTargetElement(DocumentationManager.java:394)
at com.intellij.codeInsight.documentation.DocumentationManager.showJavaDocInfo(DocumentationManager.java:335)
at com.intellij.codeInsight.documentation.DocumentationManager.showJavaDocInfo(DocumentationManager.java:311)
at com.intellij.codeInsight.documentation.actions.ShowQuickDocInfoAction$1.invoke(ShowQuickDocInfoAction.java:52)

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.