Palletizing in subprograms causes null pointers

Another report years later: NullPointerException Error