flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu St-Gelais <mathieu.stgel...@gmail.com>
Subject Re: Code analysis tool
Date Tue, 04 Jun 2013 16:48:42 GMT
Thanks Justin. I'm having problems with some of my MXML files. Analysing AS
files works flawlessly though.

I'm currently trying to compile FlexPMD and see if I can fix the problem,
or at least bypass it.

If anyone's interested, I get the following stack trace :

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1,
Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:571)
at java.util.ArrayList.set(ArrayList.java:364)
at
com.adobe.ac.pmd.files.impl.MxmlFile.copyScriptLinesKeepingOriginalLineIndices(MxmlFile.java:193)
at
com.adobe.ac.pmd.files.impl.MxmlFile.extractScriptBlock(MxmlFile.java:269)
at com.adobe.ac.pmd.files.impl.MxmlFile.<init>(MxmlFile.java:63)
at com.adobe.ac.pmd.files.impl.FileUtils.create(FileUtils.java:103)
at com.adobe.ac.pmd.files.impl.FileUtils.computeFilesList(FileUtils.java:72)
at
com.adobe.ac.pmd.FlexPmdViolations.computeFiles(FlexPmdViolations.java:138)
at
com.adobe.ac.pmd.FlexPmdViolations.computeViolations(FlexPmdViolations.java:98)
at
com.adobe.ac.pmd.engines.AbstractFlexPmdEngine.computeViolations(AbstractFlexPmdEngine.java:161)
at
com.adobe.ac.pmd.engines.AbstractFlexPmdEngine.executeReport(AbstractFlexPmdEngine.java:138)
at com.adobe.ac.pmd.commandline.FlexPMD.startFlexPMD(FlexPMD.java:119)
at com.adobe.ac.pmd.commandline.FlexPMD.main(FlexPMD.java:70)

Matt


On Tue, Jun 4, 2013 at 12:16 PM, Justin Mclean <justin@classsoftware.com>wrote:

> Hi,
>
> Even if no-one is work on FlexPMD it's still can be a very useful tool.
> I've used with with Apache Flex 4.9 projects so there's no compatibility
> issues.
>
> Thanks,
> Justin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message