Workbook Fails With java.lang.IndexOutOfBoundsException


A workbook that contains a RangeJoin operations fails with the following exception:

ERROR [2018-01-09 10:01:29.512] [JobScheduler thread-1] ( - Job 4563 failed with exception. 
java.lang.IndexOutOfBoundsException: index (n) must be less than size (n)



This might happen when the workbook's sheets that feed a RangeJoin operation aren't kept. This is known limitation that has been already fixed in Datameer v6.3.3 and higher.


Reconfigure the Save Results section in the workbook's configuration.

  1. Don't keep sheets with RangeJoin operations (tick them off).
  2. Keep all sheets that are inputs of RangeJoin operations (tick them in). For example, in the workbook you join sheets AB and C with the RangeJoin sheet D, you should mark sheets A,B and C as kept.

The permanent solution is to upgrade Datameer to version 6.3.3 or higher.