title: Cannot retrieve field values from realm object, values are null in debugger
body: <p>It seems like my RealmObject values are being hidden by the RealmProxy class, but can be set from the proxyclass.</p>
  
  <p>My model is pretty straight forward as you can see.</p>
  
  <pre><code>public class GroupRealm extends RealmObject {
      @PrimaryKey
      public String id;
      @Index
      public String name;
      public String imageUrl;
      public int order;
  
      public GroupRealm parent;
      public RealmList&lt;GroupRealm&gt; children;
      public RealmList&lt;ContentRealm&gt; contents;
  }
  </code></pre>
  
  <p>This is how i am setting the values(db is a valid Realm, and everything is in a transaction that commits fine):</p>
  
  <pre><code>GroupRealm gr = db.where(GroupRealm.class).equalTo("id",g.GroupID).findFirst();
          if(gr==null){
              gr = db.createObject(GroupRealm.class,g.GroupID);
          }
          gr.imageUrl = g.GlyphUrl;
          gr.name = g.Title;
          gr.order = g.OrderNum;
  </code></pre>
  
  <p>The image below is what I get when i query the db latter on.(same variable name not same place in code)</p>
  
  <p><a href="https://i.stack.imgur.com/OG7Jx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OG7Jx.png" alt="RealmObject has values RealmProxyClass does not"></a></p>
  
  <p>In my android.library where my RealmObjects are defined project I have the necessary plugins.</p>
  
  <pre><code>apply plugin: 'com.android.library'
  apply plugin: 'realm-android'
  </code></pre>
  
  <p>and on the project level I am setting the correct dependencies:</p>
  
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:2.1.0'
      classpath "io.realm:realm-gradle-plugin:0.90.1"
      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
  }
  </code></pre>
  
  <p>I am out of ideas. If I try to access anything I retrieve the GroupRealm as expected but all of the public properties exposed through the proxy class return null!</p>