Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,14 @@ public T read (Kryo kryo, Input input, Class<? extends T> type) {
} catch (KryoException ex) {
String message = "Unable to read unknown data (unknown type). (" + getType().getName() + "#" + cachedField + ")";
if (!chunked) throw new KryoException(message, ex);
if (DEBUG) debug("kryo", message, ex);
inputChunked.nextChunk();
continue;
try {
//try to give a default registration
registration = kryo.getRegistration(Object.class);
} catch (Exception e) {
if(DEBUG) trace("Unable to get default registration: " + e.getMessage());
inputChunked.nextChunk();
continue;
}
}
if (registration == null) {
if (chunked) inputChunked.nextChunk();
Expand Down