Processing 4 crash issue

There it is in the error. You use length on the list that is null (uninitialized?).