You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using PMD 5.0.0, I get the following error message for every file, and hence no output:
java.lang.NoSuchMethodError: net.sourceforge.pmd.cpd.SourceCode.getCodeBuffer()Ljava/lang/StringBuffer;
at net.sourceforge.pmd.cpd.ObjectivecTokenizer.tokenize(ObjectivecTokenizer.java:27)
at net.sourceforge.pmd.cpd.CPD.add(CPD.java:102)
at net.sourceforge.pmd.cpd.CPD.add(CPD.java:68)
at net.sourceforge.pmd.cpd.CPD.addDirectory(CPD.java:78)
at net.sourceforge.pmd.cpd.CPD.addRecursively(CPD.java:63)
at net.sourceforge.pmd.cpd.CPD.main(CPD.java:138)
my CPD command line looks like this (added the logging flag temporarily to get above err msg):
Jennifer-fu I tried the latest CPD with that ObjCLanguage snapshot, and it didn't work. I had to go back to the old CPD. I want to use the latest CPD so I can get exclude files support... I have 20,000 lines of false positives.
Most easy way to fix it, copy paste the ObjCLanguage-0.0.8-SNAPSHOT.jar to latest PMD 5.1.3 /lib folder, so it will be auto included in to the java path, run pmd-5.1.2/bin/run.sh instead, since it need more dependency now, so the command is something like
When using PMD 5.0.0, I get the following error message for every file, and hence no output:
my CPD command line looks like this (added the logging flag temporarily to get above err msg):
Work-around: download and use PMD 4.2.6.
The text was updated successfully, but these errors were encountered: