java.lang.IllegalStateException: Requested table is not in this Realm. Creating it requires a transaction: class_UserDatabase

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Laxman Bhattarai
, 1 year ago
Requested table is not in this Realm. Creating it requires a transaction: class_UserDatabase
via GitHub by mandrachek
, 1 year ago
Requested table is not in this Realm. Creating it requires a transaction: class_VillageInvite
via GitHub by gndps
, 1 year ago
Requested table is not in this Realm. Creating it requires a transaction: class_EssentialInfo
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.(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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.