PMD Eclipse Plugin error: An internal error occurred during: “ReviewCode”

寵の児 提交于 2019-12-24 21:48:43

问题


I need your help to solve my problem:

I'm modifying the Eclipse PMD Plugin for introduce my own rulesets in the plugin, and when I have installed my modified plugin, the IDE starts OK, but when I test it in any Java project to check the PMD with the option "Check Code with PMD", Eclipse shows me this error message:

An internal error occurred during: "ReviewCode". tried to access field net.sourceforge.pmd.CommonAbstractRule.properties from class com.mypackage.cal.cca.crregvalijav.uti.ClassASL2

The PMD plugin configuration, libraries, manifest file, etc, seems to be the same as the previous plugin version that worked. The rulesets and the xml files for the rule definitions that I have implemented are like the previous version of the plugin that worked for me.

That previous version worked in Juno and in Kepler, but the actual one modified by me doesn´t work in any IDE.

Can anybody help me and explain me why I have this error in my PMD plugin when I check its behavior??

Thanks in advance.

来源:https://stackoverflow.com/questions/25890344/pmd-eclipse-plugin-error-an-internal-error-occurred-during-reviewcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!