command line error with large codebase?
- December 12, 2009
- 1 reply
- 955 views
any idea?
if i change the source to go down the code tree to say
-s "D:/wrk_gapp-i17/gariffCode/src/tinylion/gariff"
then all is fine
but all of the following give the same error
-s "D:/wrk_gapp-i17/gariffCode/src/tinylion/gariff"
-s "D:/wrk_gapp-i17/gariffCode/src/tinylion/"
-s "D:/wrk_gapp-i17/gariffCode/src/"
is it the amount of files?
any source that goes deeper is fine;
-s "D:/wrk_gapp-i17/gariffCode/src/tinylion/gariff/views"
-s "D:/wrk_gapp-i17/gariffCode/src/tinylion/library"
etc
as you can see ive tried uping the memory (same what ever value i use)
using latest version as far as i know
$ java -Xmx1024 -jar "A:/_tools/flexPMD/flex-pmd-command-line-1.0.jar" -s "D:/wrk_gapp-i17/gariffCode/" -o "D:/wrk_gapp-i17/gariffCode/_pmdOut/all_flex/" -r "A:/_tools/flexPMD/all_flex.xml"
12-Dec-2009 21:34:09 com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset
INFO: Ruleset: A:\_tools\flexPMD\all_flex.xml
12-Dec-2009 21:34:09 com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset
INFO: Rules number in the ruleSet: 82
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.set(Unknown Source)
at com.adobe.ac.pmd.files.impl.MxmlFile.copyScriptLinesKeepingOriginalLineIndices(MxmlFile.java:131)
at com.adobe.ac.pmd.files.impl.MxmlFile.extractScriptBlock(MxmlFile.java:162)
at com.adobe.ac.pmd.files.impl.MxmlFile.<init>(MxmlFile.java:55)
at com.adobe.ac.pmd.files.impl.FileUtils.create(FileUtils.java:83)
at com.adobe.ac.pmd.files.impl.FileUtils.computeFilesList(FileUtils.java:58)
at com.adobe.ac.pmd.FlexPmdViolations.computeFiles(FlexPmdViolations.java:131)
at com.adobe.ac.pmd.FlexPmdViolations.computeViolations(FlexPmdViolations.java:94)
at com.adobe.ac.pmd.engines.AbstractFlexPmdEngine.computeViolations(AbstractFlexPmdEngine.java:156)
at com.adobe.ac.pmd.engines.AbstractFlexPmdEngine.executeReport(AbstractFlexPmdEngine.java:138)
at com.adobe.ac.pmd.commandline.FlexPMD.startFlexPMD(FlexPMD.java:115)
at com.adobe.ac.pmd.commandline.FlexPMD.main(FlexPMD.java:69)
