urbanairship / airship-flutter

Flutter integration
Other
17 stars 18 forks source link

java.lang.IllegalStateException #135

Closed peerwaya closed 2 years ago

peerwaya commented 2 years ago

Preliminary Info

Crashing in production due to java.lang.IllegalStateException

What Airship dependencies are you using?

airship_flutter: ^6.0.1 flutter-version: 3.0.4

Report

Do you have logging for the issue?

java.lang.IllegalStateException: at androidx.room.RoomOpenHelper.checkIdentity (RoomOpenHelper.java:163) at androidx.room.RoomOpenHelper.onOpen (RoomOpenHelper.java:135) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.onOpen (FrameworkSQLiteOpenHelper.java:201) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked (SQLiteOpenHelper.java:504) at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase (SQLiteOpenHelper.java:391) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.getWritableSupportDatabase (FrameworkSQLiteOpenHelper.java:151) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper.getWritableDatabase (FrameworkSQLiteOpenHelper.java:112) at androidx.room.RoomDatabase.inTransaction (RoomDatabase.java:706) at androidx.room.RoomDatabase.assertNotSuspendingTransaction (RoomDatabase.java:483) at com.urbanairship.messagecenter.MessageDao_Impl.getMessages (MessageDao_Impl.java:155) at com.urbanairship.messagecenter.Inbox.refresh (Inbox.java:686) at com.urbanairship.messagecenter.Inbox.updateEnabledState (Inbox.java:222) at com.urbanairship.messagecenter.MessageCenter.updateInboxEnabledState (MessageCenter.java:186) at com.urbanairship.messagecenter.MessageCenter.init (MessageCenter.java:173) at com.urbanairship.UAirship.init (UAirship.java:795) at com.urbanairship.UAirship.executeTakeOff (UAirship.java:420) at com.urbanairship.UAirship.access$000 (UAirship.java:66) at com.urbanairship.UAirship$2.run (UAirship.java:379) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641) at com.urbanairship.util.AirshipThreadFactory$1.run (AirshipThreadFactory.java:50) at java.lang.Thread.run (Thread.java:919)

rlepinski commented 2 years ago

This should be fixed in 6.1.0