PrettyFormatter can lead to Array Bound exceptions because indentation list is empty