Calling toString() in the middle of decoding a repeating group breaks the decoding of that group. For example, subsequent entries are skipped: for (MyGroupDecoder ...