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 thebigb
, 1 year ago
com.jetbrains.php.lang.psi.elements.impl.PhpUseImpl cannot be cast to com.jetbrains.php.lang.psi.elements.PhpClass
java.lang.ClassCastException: com.jetbrains.php.lang.psi.elements.impl.PhpUseImpl cannot be cast to com.jetbrains.php.lang.psi.elements.PhpClass	at de.espend.idea.php.annotation.reference.DocTagNameAnnotationReferenceContributor$PhpDocIdentifierReference.isReferenceTo(DocTagNameAnnotationReferenceContributor.java:261)	at com.intellij.psi.search.SingleTargetRequestResultProcessor.processTextOccurrence(SingleTargetRequestResultProcessor.java:52)	at com.intellij.psi.impl.search.PsiSearchHelperImpl$10.execute(PsiSearchHelperImpl.java:736)	at com.intellij.psi.impl.search.LowLevelSearchUtil.a(LowLevelSearchUtil.java:134)	at com.intellij.psi.impl.search.LowLevelSearchUtil.access$000(LowLevelSearchUtil.java:47)	at com.intellij.psi.impl.search.LowLevelSearchUtil$1.execute(LowLevelSearchUtil.java:204)	at com.intellij.psi.impl.search.LowLevelSearchUtil.processTextOccurrences(LowLevelSearchUtil.java:271)	at com.intellij.psi.impl.search.LowLevelSearchUtil.processElementsContainingWordInElement(LowLevelSearchUtil.java:200)	at com.intellij.psi.impl.search.PsiSearchHelperImpl$2.processInReadAction(PsiSearchHelperImpl.java:200)	at com.intellij.psi.impl.search.PsiSearchHelperImpl$2.processInReadAction(PsiSearchHelperImpl.java:188)	at com.intellij.openapi.application.ReadActionProcessor$1.compute(ReadActionProcessor.java:32)	at com.intellij.openapi.application.ReadActionProcessor$1.compute(ReadActionProcessor.java:29)	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:866)	at com.intellij.openapi.application.ReadActionProcessor.process(ReadActionProcessor.java:29)	at com.intellij.concurrency.ApplierCompleter.b(ApplierCompleter.java:123)	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1033)	at com.intellij.concurrency.ApplierCompleter.b(ApplierCompleter.java:96)	at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)