Issue persists in 18w43b
Same issue here (3 different seeds tested).
edit: after looking at the stacktrace... how does one manage to attempt to view an element in an array outside of bounds? You should already be checking if its null, and you shouldnt be looking by explicit index.
Issue persists in 18w43b