java.lang.NoSuchMethodError: com.intellij.psi.util.PsiTreeUtil.findChildOfType(Lcom/intellij/psi/PsiElement;Ljava/lang/Class;)Lcom/intellij/psi/PsiElement;

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via jroller.com by Unknown author, 1 year ago
com.intellij.psi.util.PsiTreeUtil.findChildOfType(Lcom/intellij/psi/PsiElement;Ljava/lang/Class;)Lcom/intellij/psi/PsiElement;
java.lang.NoSuchMethodError: com.intellij.psi.util.PsiTreeUtil.findChildOfType(Lcom/intellij/psi/PsiElement;Ljava/lang/Class;)Lcom/intellij/psi/PsiElement;
at org.codenarc.idea.CodeNarcInspectionTool$1.compute(CodeNarcInspectionTool.java:141)
at org.codenarc.idea.CodeNarcInspectionTool.checkFile(CodeNarcInspectionTool.java:147)
at com.intellij.codeInspection.LocalInspectionTool$1.visitFile(LocalInspectionTool.java:87)
at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:91)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:215)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:196)
at com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:94)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:198)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:223)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:189)
at com.intellij.concurrency.JobUtil$2.process(JobUtil.java:92)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)

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.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.