Skip to main content
Known Participant
December 12, 2009
Question

getting error as pmd runs during build

  • December 12, 2009
  • 1 reply
  • 6310 views

An internal error occurred during: "add markers job".

Index: 0, Size: 0

get this alert sometimes during build.
with
pmd nature added
monitorize set
latest builder 4 (stand alone)
trunk flex sdk
latest version of PMD

This topic has been closed for replies.

1 reply

Known Participant
December 13, 2009

I have seen this error also. It seems to appear once in a while. Probably more often if you activate the "monitorize" option.

Adobe Employee
December 13, 2009

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?

Thanks

Xavier

Known Participant
December 15, 2009

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.

Message:

An internal error occurred during: "add markers job".

Exception stack trace:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at java.util.ArrayList.RangeCheck(ArrayList.java:547)

at java.util.ArrayList.get(ArrayList.java:322)

at com.adobe.ac.pmd.eclipse.flexpmd.utils.FlexPMDMarkerUtils$1.run(FlexPMDMarkerUtils.java:143)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Session data:

eclipse.buildId=M20090917-0800

java.version=1.6.0_16

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_ES

Command-line arguments:  -os win32 -ws win32 -arch x86

Regards,
  Alex