• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

command line error with large codebase?

Engaged ,
Dec 12, 2009 Dec 12, 2009

Copy link to clipboard

Copied

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)

TOPICS
FlexPMD

Views

789

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Dec 14, 2009 Dec 14, 2009

You have somewhere in your code base, a MXML file which leads to this exception. It would great if you could try to identify this one.

You would then be able to add to the test suite to avoid regressions.

Xavier

Votes

Translate

Translate
Adobe Employee ,
Dec 13, 2009 Dec 13, 2009

Copy link to clipboard

Copied

From your stacktrace, it is not related to the size of the project.

Can you open a bug in JIRA with the stacktrace, please?

Thanks

Xavier

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 14, 2009 Dec 14, 2009

Copy link to clipboard

Copied

You have somewhere in your code base, a MXML file which leads to this exception. It would great if you could try to identify this one.

You would then be able to add to the test suite to avoid regressions.

Xavier

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 14, 2009 Dec 14, 2009

Copy link to clipboard

Copied

Hi again

now I know where to start looking I'm positive i can track this one down for yo9u this evening.

i'll get back to you later

cheers

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 15, 2009 Dec 15, 2009

Copy link to clipboard

Copied

LATEST

Great Glenn !

Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines