ArrayOutOfBounds from javac2 on TeamCity?

Hi all,

Not quite sure where this belongs - we recently switched to javac2 so that we can use the Form Designer. We're getting the problem below, but only when TeamCity compiles. We're all developing on OSX and that seems fine, TeamCity is running on a linux server - java 1.5.0_07 in all environments. I can't tell exactly what it's doing, but it seems to be doing something with EMMA on files compiled by JAXB. Any ideas?

Cheers,
Colin

: compile.module.devbench.production (3s)
: javac2 (2s)
: java.lang.ArrayIndexOutOfBoundsException: 65536
: Ant output:
Building jar: /home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/classes/production/devbench/bundle/referencethirdpartylib.jar
Building jar: /home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/classes/production/devbench/bundle/referencefactoryservice.jar
Building jar: /home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/classes/production/devbench/bundle/referenceeventclient.jar
Building jar: /home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/classes/production/devbench/bundle/referencelookupclient.jar
Building jar: /home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/classes/production/devbench/bundle/referencefactoryclient.jar
Building jar: /home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/classes/production/devbench/bundle/referencebundleclient.jar
Building jar: /home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/classes/production/devbench/bundle/referenceservice.jar
all: jaxb.generate:
/home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/src-generated/com/core/devbench/bundle/content/node/scheme/iso8583parser/generated-dictionary is not found and thus excluded from the dependency check
Compiling file:/home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/src/com/core/devbench/bundle/content/node/scheme/iso8583parser/iso8583.xsd
Writing output to /home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/src-generated
/home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/src-generated/com/core/devbench/bundle/content/node/scheme/iso8583parser/generated-dictionary is not found and thus excluded from the dependency check
Compiling file:/home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/src/com/core/devbench/bundle/content/node/scheme/clientconnector/isoheader.xsd
Writing output to /home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/src-generated compile.module.devbench.production:
Compiling 8 source files to /home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/classes/production/devbench
EMMA: processing instrumentation path ...
EMMA: instrumentation path processed in 398 ms
EMMA:
EMMA: metadata merged into {in 16 ms} BUILD FAILED
/home/teamcity/TeamCity/buildAgent/work/Server/Devbench_trunk/devbench.xml:259: java.lang.ArrayIndexOutOfBoundsException: 65536

1 comment

Hmm, turning off code coverage in TeamCity "fixes" it, I guess javac2 is generating code that EMMA doesn't like. Any ideas how to fix this?

Thanks,
Colin

0

Please sign in to leave a comment.