Lists in schema objects are always initialized to empty lists, so they are never null. If they are, the schema is corrupted (someone intentionally change the list to null), and throwing a exception (NullPointerException in this case) is a valid reaction. The exception will be caught somewhere in the game loop, and there it'll be decided what to do.