"Regardless of the above rules, any value nested within a chunked value
is always chunked. Furthermore, any such nested value that is
truncatable must encode its type information as a list of RepositoryIDs
(see Section 18.104.22.168, "Partial Type Information and Versioning," on
Unfortunately Glassfish is sending non-chunked values embedded in
chunked values, which is non-spec compliant.
The problem only presents itself on JDK7 due to the presence of the
suppressedExceptions field in the Throwable. The problem would also be
present on JDK6 is an object with a similar structure was being passed
over the wire.