title: Android Realm storing null instead of real values
body: <p>i'm conding an Android app and using Realm to persist data, but in just one case not attributes of my data are been saved, there's no migrations the schema is new, here's my code</p>
  
  <pre><code>public class ContractAttachments extends RealmObject {
  @Required
  private String nameOfFile;
  private String pathOfFile;
  
  public String getNameOfFile() {
      return nameOfFile;
  }
  
  public void setNameOfFile(String nameOfFile) {
      this.nameOfFile = nameOfFile;
  }
  
  public String getPathOfFile() {
      return pathOfFile;
  }
  
  public void setPathOfFile(String pathOfFile) {
      this.pathOfFile = pathOfFile;
  }
  </code></pre>
  
  <p>}</p>
  
  <pre><code>realm.beginTransaction();
  ContractAttachments attachment = new ContractAttachments();
  attachment.setPathOfFile(file.getAbsolutePath());
  attachment.setNameOfFile("nome");
  realm.copyToRealm(attachment);
  realm.commitTransaction();
  </code></pre>