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 pmd by iamroshan
, 2 years ago
net.sourceforge.pmd.rules.X PathRule
via sourceforge.net by Unknown author, 1 year ago
java.lang.ClassCastException: net.sourceforge.pmd.rules.XPathRule	at net.sourceforge.pmd.RuleSetFactory.parseSingleRuleNode(RuleSetFactory.java:309)	at net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:253)	at net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209)	at net.sourceforge.pmd.RuleSetFactory.createSingleRuleSet(RuleSetFactory.java:135)	at net.sourceforge.pmd.RuleSetFactory.createRuleSets(RuleSetFactory.java:85)	at net.sourceforge.pmd.ant.PMDTask.doTask(PMDTask.java:220)	at net.sourceforge.pmd.ant.PMDTask.execute(PMDTask.java:334)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)	at org.apache.tools.ant.Task.perform(Task.java:348)	at ise.antelope.tasks.IfTask.doIf(IfTask.java:292)	at ise.antelope.tasks.IfTask.execute(IfTask.java:261)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)	at org.apache.tools.ant.Task.perform(Task.java:348)	at org.apache.tools.ant.Target.execute(Target.java:357)	at org.apache.tools.ant.Target.performTasks(Target.java:385)	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)	at org.apache.tools.ant.Project.executeTargets(Project.java:1189)	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)