In the constructor of ActionQueue, the List<ExecutableList<?>> tmp variable is instantiated with a size of 7, but subsequentially 8 entries are added, causing the list to be resized right away.