David Yu

Results 66 comments of David Yu

If your data has cyclic references, use GraphIOUtil

The full stacktrace would help identify the culprit. Just redact some "confidential" details (or send it privately)

You're basically trying to serialize a class which internally has circular references.

See http://www.protostuff.io/documentation/object-graphs/ A root cannot have its members reference it. Use a wrapper. And like @kshchepanovskyi said, a test-case to reproduce would be good.

Can you attach a testcase? A testcase that we could replicate this issue would help identify and fix the problems

What's the stacktrace? Please post a sample test case that uses this class and triggers the exception?

@snsyzf thanks for reporting. Can you try testing against `1.8.0-SNAPSHOT` and see if you still get problems?

You have 2 choices: 1. Use GraphIOUtil if your application requires that the singleton reference be preserved. 2. -Dprotostuff.runtime.always_use_sun_reflection_factory=true

1 more option: ```java public final class PojoDelegate implements Delegate { public final Schema schema; public final Pipe.Schema pipeSchema; public PojoDelegate(Schema schema, Pipe.Schema pipeSchema) { this.schema = schema; this.pipeSchema =...