• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issue when to trying check code with pmd

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic