java.lang.ClassCastException: net.sourceforge.pmd.rules.XPathRule

sourceforge.net | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ClassCastException if pmd jars not in ANT/lib

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

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

    sourceforge.net | 8 months ago
    java.lang.ClassCastException: net.sourceforge.pmd.rules.XPathRule
  3. 0

    [tools] p2.composite.repository task fails with ClassCastException

    Eclipse Bugzilla | 7 years ago | oliver.oo.schaefer
    java.lang.ClassCastException: org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository cannot be cast to org.eclipse.equinox.p2.repository.ICompositeRepository
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      net.sourceforge.pmd.rules.XPathRule

      at org.apache.tools.ant.ProjectHelper.addLocationToBuildException()
    2. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
      2. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
      3. org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
      4. org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
      5. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    4. Ant
      UnknownElement.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.taskdefs.Sequential.execute(Sequential.java:62)
      4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    6. Ant
      MacroInstance.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.taskdefs.MacroInstance.execute(MacroInstance.java:394)
      3 frames