java.lang.ClassCastException: net.sourceforge.pmd.rules.X PathRule

sourceforge.net | 4 months ago
  1. 0

    ClassCastException if pmd jars not in ANT/lib

    pmd | 8 years ago | iamroshan
    java.lang.ClassCastException: net.sourceforge.pmd.rules.X PathRule
  2. 0

    PMD / Discussion / Developers:ClassCastException if pmd jars not in ANT/lib

    sourceforge.net | 4 months ago
    java.lang.ClassCastException: net.sourceforge.pmd.rules.X PathRule
  3. 0

    PMD-4.x w/ Ant 1.7 issues

    pmd | 9 years ago | dijitalmaniak
    java.lang.ClassCastException: net.sourceforge.pmd.rules.XPathRule
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException: ASTAnnotation

    pmd | 1 decade ago | cstach
    java.lang.ClassCastException: net.sourceforge.pmd.ast.ASTAnnotation
  6. 0

    PMD / Discussion / Developers:ClassCastException if pmd jars not in ANT/lib

    sourceforge.net | 4 months ago
    java.lang.ClassCastException: net.sourceforge.pmd.rules.XPathRule

    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

      net.sourceforge.pmd.rules.XPathRule

      at net.sourceforge.pmd.RuleSetFactory.parseSingleRuleNode()
    2. PMD
      PMDTask.execute
      1. net.sourceforge.pmd.RuleSetFactory.parseSingleRuleNode(RuleSetFactory.java:309)
      2. net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:253)
      3. net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209)
      4. net.sourceforge.pmd.RuleSetFactory.createSingleRuleSet(RuleSetFactory.java:135)
      5. net.sourceforge.pmd.RuleSetFactory.createRuleSets(RuleSetFactory.java:85)
      6. net.sourceforge.pmd.ant.PMDTask.doTask(PMDTask.java:220)
      7. net.sourceforge.pmd.ant.PMDTask.execute(PMDTask.java:334)
      7 frames
    3. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    5. Ant
      Task.perform
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
      3. org.apache.tools.ant.Task.perform(Task.java:348)
      3 frames
    6. ise.antelope.tasks
      IfTask.execute
      1. ise.antelope.tasks.IfTask.doIf(IfTask.java:292)
      2. ise.antelope.tasks.IfTask.execute(IfTask.java:261)
      2 frames
    7. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    9. Ant
      Ant.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:357)
      4. org.apache.tools.ant.Target.performTasks(Target.java:385)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
      6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      7. org.apache.tools.ant.Project.executeTargets(Project.java:1189)
      8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
      8 frames