I have seen this error also. It seems to appear once in a while. Probably more often if you activate the "monitorize" option.
I am pretty sure that Xavi is aware of it, but just in case, could you open a bug in JIRA, and attach the stacktrace from the Error log?
It just happened.
I think it's kind of random but my last steps have been: run FlexPMD in a project, switched to another project and run it again.
An internal error occurred during: "add markers job".
Exception stack trace:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at com.adobe.ac.pmd.eclipse.flexpmd.utils.FlexPMDMarkerUtils$1.run(FlexPMDMarkerUtils.java:1 43)
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_ES
Command-line arguments: -os win32 -ws win32 -arch x86Regards,Alex
I created an issue in Jira some few days ago: http://bugs.adobe.com/jira/browse/FLEXPMD-130
You get this error when you fix all the violations of a class an flexPmd is re-executed on it.
I have fixed it locally and will be solved in the next drop.
Hey is there any way you can push out a patch for this... or suggest a workaround... ? Maybe clear the pmd cache files?
I just had to remove my pmd project nature because this error is coming up everytime i build...
+1 for this
Its a big problem
tinylion development & design
+1 same problem here
Hi Jens and all,
I know it's been some few months since the beta for FlexPMD plugin was first released and that this issue has been annoying all of us since then. I'll try to find sometime to look into this between next week and the other in order to fix it and allow a smoother workflow.
Sorry for any inconvinience
Thanks for the reply Xavi. I'll just wait for the update then
This bug is still present in FlexPMD 1.2 and Flash Builder 4.5 i6 - or is something wrong with my configuration?
I am also getting this error (as is the rest of my team), FlexPMD 1.2 and Flash Builder 4.0.1
Thank-you so much, that worked a treat!
Thanks a lot Xavi. This is probably the only article that helped me solve my problem .