title: java.lang.IllegalStateException: Requested table is not in this Realm
body: <p>I deleted one entry from <code>UserDatabse</code> in realm in <code>Activity "A"</code> and when I tested after deletion the size of <code>UserDatabase</code> it returns <strong>"1"</strong> , Then I started <code>Activity B</code> and then When the following Line executes :</p>
  
  <pre><code> Realm realm = Realm.getDefaultInstance();
          final RealmResults&lt;UserDatabase&gt; stdList = realm.where(UserDatabase.class).findAll();
      Log.i("datatesthello","student databse size"+stdList.size());
  </code></pre>
  
  <p><strong>I get this error :java.lang.IllegalStateException:</strong> </p>
  
  <pre><code>09-08 16:18:21.491 8517-9711/com.gurkhatech.hamroschool.guardian E/AndroidRuntime: FATAL EXCEPTION: Thread-1712
   Process: com.gurkhatech.hamroschool.guardian, PID: 8517
  java.lang.IllegalStateException: Requested table is not in this Realm. Creating it requires a transaction: class_UserDatabase                                                                                       
  at io.realm.internal.Group.getTable(Group.java:193)
  at io.realm.RealmSchema.getTable(RealmSchema.java:230)
  at io.realm.RealmSchema.getSchemaForClass(RealmSchema.java:250)
  at io.realm.RealmQuery.&lt;init&gt;(RealmQuery.java:139)
  at io.realm.RealmQuery.createQuery(RealmQuery.java:88)
  at io.realm.Realm.where(Realm.java:1050)
  at com.gurkhatech.hamroschool.guardian.SplashActivity.validLogin(SplashActivity.java:81)
  at com.gurkhatech.hamroschool.guardian.SplashActivity.access$000(SplashActivity.java:20)
  at com.gurkhatech.hamroschool.guardian.SplashActivity$1.run(SplashActivity.java:37)
  </code></pre>
  
  <p>Also,.. the size of UserDatabase in activity B is "0" when I print it in Log.</p>