title: Making GSON & Realm play nice
body: <p>I'm trying to use Realm + GSON.
  If they would work together well, it would be a match made in heaven.</p>
  
  <p>However, when I extend my model objects with "extends RealmObject" I get this:</p>
  
  <pre><code>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)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:381)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:376)
              at com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:356)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:128)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:75)
              at com.google.gson.Gson.getAdapter(Gson.java:358)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:109)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.access$100(ReflectiveTypeAdapterFactory.java:46)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.&lt;init&gt;(ReflectiveTypeAdapterFactory.java:84)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:83)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:129)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:75)
              at com.google.gson.Gson.getAdapter(Gson.java:358)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:109)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.access$100(ReflectiveTypeAdapterFactory.java:46)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.&lt;init&gt;(ReflectiveTypeAdapterFactory.java:84)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:83)
              at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:129)
              at com.google.gson.internal.bin
  </code></pre>
  
  <p>Any fix available? :-)</p>