7 Replies Latest reply on Mar 16, 2011 1:22 PM by yourpalmark

    flexPMD.xml:42: java.lang.StringIndexOutOfBoundsException: String index out of range: -1

    ad_ladon

      Am try use FlexPMD on big project(about 1000 classes, ~6mb code), same  configuration on small project(about 350classes, ~ 1.2mb code) work fine.

       

      FlexPMD lastest - 1.1

      Java - 6 ver 19

      org.apache.ant_1.7.0.v200803061910

       

      39   <target name="flexPmdWithDefaultRuleset">
      40        <flexPmd
      41         sourceDirectory="${src.dir}"
      42            outputDirectory="${bin.dir}"/>
      43  </target>

       

      Buildfile: d:\ant\flexPMD.xml
      flexPmdWithDefaultRuleset:
        [flexPmd] 05.05.2010 12:48:56 com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset
        [flexPmd] INFO: Ruleset: C:\Temp\default_flex3199696228101358228.xml
        [flexPmd] 05.05.2010 12:48:56 com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset
        [flexPmd] INFO: Rules number in the ruleSet: 90

       

      BUILD FAILED
      d:\ant\flexPMD.xml:42: java.lang.StringIndexOutOfBoundsException: String index out of range: -1

       

      Total time: 19 seconds