Dan, these issues are usually one of two problems:

1) You did not configure the targetJdk parameter so PMD uses the wrong
parser.
2) PMD parser bug.

(2) would belong on the PMD mailing list, not here.

-----Original Message-----
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 18, 2006 9:52 AM
To: Maven Users List
Subject: pmd crashes

Folks my problem is PMD not the plugin, but I ask anyway here

Here is the error:
=============


[INFO] Error during report generation

Embedded error: Failure executing PMD for:
......\ui\internal\launcher\configuration\PreferencePageHistory.java
Encountered "abstract" at line 151, column 17.
Was expecting one of:
    "}" ...
    "final" ...
    "@" ...
    "boolean" ...
    "char" ...
    "byte" ...





It turns out the code  has a abstract define inside a method



 public ToolBar createHistoryControls(ToolBar historyBar,
   ToolBarManager manager) {

  historyToolbar = manager;
  /**
   * Superclass of the two for-/backward actions for the history.
   */
  abstract class HistoryNavigationAction extends Action implements
    IMenuCreator {
   private Menu lastMenu;

Advice is greatly appreciated.



-D


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to