Making GSON & Realm play nice
问题 I'm trying to use Realm + GSON. If they would work together well, it would be a match made in heaven. However, when I extend my model objects with "extends RealmObject" I get this: 10-08 17:00:19.578 12492-12492/appwise.be.gsontestproject E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: appwise.be.gsontestproject, PID: 12492 java.lang.StackOverflowError at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:372) at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)