Bugs item #2870967, was opened at 2009-09-30 21:50
Message generated for change (Tracker Item Submitted) made by hfp3483u
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=479921&aid=2870967&group_id=56262Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: cpd
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Freddy Mallet (hfp3483u)
Assigned to: Tom Copeland (tomcopeland)
Summary: When a TokenMgrError is thrown, the file path is missing
Initial Comment:
If for any reason an error occurs when a source file is "tokenized", the following exception is thrown but there is absolutely no way to know which source file is "corrupted".
Caused by: net.sourceforge.pmd.ast.TokenMgrError: Lexical error at
line 1, column 1. Encountered: "#" (35), after : ""
at net.sourceforge.pmd.ast.JavaParserTokenManager.getNextToken(JavaParserTokenManager.java:2040)
at net.sourceforge.pmd.cpd.JavaTokenizer.tokenize(JavaTokenizer.java:38)
at net.sourceforge.pmd.cpd.CPD.add(CPD.java:106)
at net.sourceforge.pmd.cpd.CPD.add(CPD.java:72)
at org.sonar.plugins.cpd.CpdSensor.configureCPD(CpdSensor.java:93)
at org.sonar.plugins.cpd.CpdSensor.executeCPD(CpdSensor.java:73)
... 30 more
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=479921&aid=2870967&group_id=56262------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf_______________________________________________
Pmd-devel mailing list
Pmd-devel@...
https://lists.sourceforge.net/lists/listinfo/pmd-devel