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

jroller.com | 7 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

    Cedric Champeau's Weblog : Weblog

    jroller.com | 7 months ago
    java.lang.NoSuchMethodError: com.intellij.psi.util.PsiTreeUtil.findChildOfType(Lcom/intellij/psi/PsiElement;Ljava/lang/Class;)Lcom/intellij/psi/PsiElement;

    Root Cause Analysis

    1. 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()
    2. org.codenarc.idea
      CodeNarcInspectionTool$1.compute
      1. org.codenarc.idea.CodeNarcInspectionTool$1.compute(CodeNarcInspectionTool.java:141)
      1 frame
    3. IDEA
      PsiCachedValueImpl.getValue
      1. com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:57)
      1 frame
    4. org.codenarc.idea
      CodeNarcInspectionTool.checkFile
      1. org.codenarc.idea.CodeNarcInspectionTool.checkFile(CodeNarcInspectionTool.java:147)
      1 frame
    5. IDEA
      JobUtil$1.run
      1. com.intellij.codeInspection.LocalInspectionTool$1.visitFile(LocalInspectionTool.java:87)
      2. com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:91)
      3. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:215)
      4. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:196)
      5. com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:94)
      6. com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:198)
      7. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:223)
      8. com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:189)
      9. com.intellij.concurrency.JobUtil$2.process(JobUtil.java:92)
      10. com.intellij.concurrency.JobUtil$1.run(JobUtil.java:59)
      10 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:680)
      6 frames