I am trying to serialize Thrift union in C and then deserialize in Java. On Java side I always get serialized only first field of union. The following code works correctly with structs but not with union only.
Serialization code in C (I replaced with "..." unnecessary parts):
Deserialization code in Java:
As a result on Java side only "Received EXCEPTION message" is logged. For JLFrame messages it receives empty JLException message.