If I have a PersonProxy {String getName(); PersonProxy getParent();} and I try to load it from server through a RequestFactory provided Request object, it crashes with stack overflow error. It tries to cal开发者_StackOverflow中文版l hashCode() indefinitely.
Any ideas why is this happening?
Thanks.
Is there a cycle in your PersonProxy relationships? ValueProxies use their component properties' hashCode() and equals(). The ValueProxy type isn't really intended for use in complex graph structures, since they have no identity semantics to short-circuit graph traversals.
精彩评论