sternr
sternr
There's no cyclic references, just a very deep object graph.
This continues for a couple of thousand of lines and ends at: ``` at io.protostuff.runtime.RuntimeUnsafeFieldFactory$15$1.writeTo(RuntimeUnsafeFieldFactory.java:1232) ~[protostuff-runtime-1.5.3.jar:1.5.3] at io.protostuff.runtime.RuntimeSchema.writeTo(RuntimeSchema.java:475) ~[protostuff-runtime-1.5.3.jar:1.5.3] at io.protostuff.runtime.ObjectSchema.writeObjectTo(ObjectSchema.java:761) ~[protostuff-runtime-1.5.3.jar:1.5.3] at io.protostuff.runtime.ObjectSchema.writeTo(ObjectSchema.java:356) ~[protostuff-runtime-1.5.3.jar:1.5.3] at io.protostuff.ProtostuffOutput.writeObject(ProtostuffOutput.java:363) ~[protostuff-core-1.5.3.jar:1.5.3] at io.protostuff.runtime.RuntimeUnsafeFieldFactory$15$1.writeTo(RuntimeUnsafeFieldFactory.java:1232)...
I don't have more than that, as I said looking in the log All I see is the above lines recursively called over 1000 times. If it help, here's a...
No, I logged every object data upon crash and verified there are no cyclic reference. However, I'll give some more information about the object's deep structure: Its a pojo that...
Also, when trying to run the same flow with GraphIOUtil, we get: ``` java.lang.StackOverflowError at io.protostuff.StringSerializer$STRING.deser(StringSerializer.java:1148) ~[protostuff-api-1.5.3.jar:1.5.3] at io.protostuff.CodedInput.readString(CodedInput.java:283) ~[protostuff-core-1.5.3.jar:1.5.3] at io.protostuff.FilterInput.readString(FilterInput.java:135) ~[protostuff-api-1.5.3.jar:1.5.3] at io.protostuff.runtime.DefaultIdStrategy.resolvePojoFrom(DefaultIdStrategy.java:522) ~[protostuff-runtime-1.5.3.jar:1.5.3] at io.protostuff.runtime.ObjectSchema.readObjectFrom(ObjectSchema.java:682) ~[protostuff-runtime-1.5.3.jar:1.5.3] at...
I have, My class hierarchy is as follows: ``` class GenericWrapper { public T data; } class RealItem{ /* about a dozen primitive fields, including a few int[] and long[]...
Just to add, serialization usually works, its deserialization that fails