Hi ,
Am using Eclipse Platform
Version: 3.4.2
Build id: M20090211-1700
And I downloaded pmd plugin from the site
http://pmd.sourceforge.net/eclipse/ from which I installed version 3.2.6,
Restarted eclipse, But when I try to check java file for pmd violations , am getting the error message like below.
"An Internal error occured during code review"
When I checked the pmd log file, it showed some thing like,
2010/07/30 11:14:41,672 ERROR PMDPlugin Error executing command ReviewCode
name.herlin.command.CommandException: net.sourceforge.pmd.eclipse.runtime.properties.PropertiesException: The project ruleset file cannot be found for project
at net.sourceforge.pmd.eclipse.runtime.cmd.ReviewCodeCmd.processResourceDelta(Unknown Source)
at net.sourceforge.pmd.eclipse.runtime.cmd.ReviewCodeCmd.execute(Unknown Source)
at net.sourceforge.pmd.eclipse.runtime.cmd.JobCommandProcessor$1.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: net.sourceforge.pmd.eclipse.runtime.properties.PropertiesException: The project ruleset file cannot be found for project
at net.sourceforge.pmd.eclipse.runtime.properties.impl.ProjectPropertiesImpl.setRuleSetStoredInProject(Unknown Source)
at net.sourceforge.pmd.eclipse.runtime.properties.impl.ProjectPropertiesManagerImpl.fillProjectProperties(Unknown Source)
at net.sourceforge.pmd.eclipse.runtime.properties.impl.ProjectPropertiesManagerImpl.loadProjectProperties(Unknown Source)
at net.sourceforge.pmd.eclipse.plugin.PMDPlugin.loadProjectProperties(Unknown Source)
... 4 more
I tried reinstalling the plugin, code clean up, etc. But still the problem is not resolved,
Can any one please help.