Serializing an arbitrary Java object with Kryo (getting IllegalAccessError)
Motivation: To aid in remote debugging (Java), it's useful to be able to request remote servers to send over arbitrary objects to my local machine for inspection. However, this means that the remote server must be able to serialize an arbitrary java object that is not known in advance at runtime. So I asked around and stumbled on the Kryo serialization library . From Kryo's documentation , a major feature is that it's very robust at serializing arbitrary java objects. Objects don't have to implement Serializable , don't need no-arg constructors to be deserializable and I don't even need to