Skip to content

Android app crash with IllegalStateException #1570

@binwiederhier

Description

@binwiederhier

🐞 Describe the bug

Exception java.lang.IllegalStateException:
  at android.database.CursorWindow.nativeGetString
  at android.database.CursorWindow.getString (CursorWindow.java:465)
  at android.database.AbstractWindowedCursor.getString (AbstractWindowedCursor.java:54)
  at androidx.sqlite.driver.SupportSQLiteStatement$RowSQLiteStatement.getText (SupportSQLiteStatement.android.kt:370)
  at io.heckel.ntfy.db.NotificationDao_Impl.listFlow$lambda$3 (NotificationDao_Impl.kt:381)
  at io.heckel.ntfy.db.NotificationDao_Impl$$ExternalSyntheticLambda10.invoke (D8$$SyntheticClass)
  at androidx.room.util.DBUtil__DBUtil_androidKt$performSuspending$lambda$1$$inlined$internalPerform$1.invokeSuspend (DBUtil.kt:173)
  at androidx.room.util.DBUtil__DBUtil_androidKt$performSuspending$lambda$1$$inlined$internalPerform$1.invoke (Unknown Source:8)
  at androidx.room.util.DBUtil__DBUtil_androidKt$performSuspending$lambda$1$$inlined$internalPerform$1.invoke (Unknown Source:4)
  at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invokeSuspend (PassthroughConnectionPool.kt:59)
  at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invoke (Unknown Source:8)
  at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invoke (Unknown Source:4)
  at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn (Undispatched.kt:42)
  at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext (Builders.common.kt:164)
  at kotlinx.coroutines.BuildersKt.withContext (Unknown Source:1)
  at androidx.room.coroutines.PassthroughConnectionPool.useConnection (PassthroughConnectionPool.kt:59)
  at androidx.room.RoomConnectionManager.useConnection (RoomConnectionManager.android.kt:138)
  at androidx.room.RoomDatabase.useConnection (RoomDatabase.android.kt:619)
  at androidx.room.util.DBUtil__DBUtil_androidKt$performSuspending$$inlined$compatCoroutineExecute$DBUtil__DBUtil_androidKt$1.invokeSuspend (DBUtil.android.kt:261)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:34)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:101)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1154)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:652)
  at java.lang.Thread.run (Thread.java:1563)

💻 Components impacted
Android app

Metadata

Metadata

Assignees

No one assigned

    Labels

    android-appntfy Android app🪲 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions