Project

Contents

Issue #00005412

ArrayIndexOutOfBoundsException if tmlscript module contains too many statements
Bug

If a TMLScript object has too many statements you may get an ArrayIndexOutOfBounds exception.

Sample:

java.lang.ArrayIndexOutOfBoundsException: -32767
at  de.innovationgate.ext.org.mozilla.classfile.ClassFileWriter$StackMapTable.executeBlock(ClassFileWriter.java:1731)

The reason is a BUG in the rhino javascript engine.

See also https://github.com/mozilla/rhino/issues/529

We now implemented a patch that should solve this problem.