Some bugs can cause this code path to be followed, and we should be intelligent about the error in Avro.
Java server serializing error union schema branch number incorrectly for single-branch unions
Merged into branch-1.3 with revision 951232.
Committed to trunk in revision 951231.
Hopefully we never hit this code path...