App crash at boot
Describe the bug In my android car box I have this strange behaviour, practically app app start to crash at boot and I can't understand why, I clear data and work maybe for a week and than again start to crash at boot and only fix is again to clear data. (I think is something related to start to open a missing song maybe something about synchronization when using in phone and then on the car using the same Google account)
Log (Error Details) Build version: 0.2.12 Current date: 2025-03-19 22:36:14 Device: QUALCOMM Bengal for arm64 OS version: Android 13 (SDK 33)
Stack trace:
Tc.c: Could not create instance for '[Singleton:'v7.U0']'
at Vc.d.create(Unknown Source:113)
at Vc.e.create(Unknown Source:9)
at B7.i.invoke(Unknown Source:63)
at fd.b.synchronized(Unknown Source:11)
at Vc.e.get(Unknown Source:14)
at bd.a.resolveInstance$koin_core(Unknown Source:22)
at cd.a.a(Unknown Source:69)
at cd.a.get(Unknown Source:116)
at R7.h.invoke(Unknown Source:16)
at q9.C.getValue(Unknown Source:20)
at R7.i.getSimpleMediaServiceHandler(Unknown Source:2)
at R7.c.invokeSuspend(Unknown Source:28)
at x9.a.resumeWith(Unknown Source:11)
at jb.i.resumeCancellableWith(Unknown Source:127)
at kb.a.startCoroutineCancellable(SourceFile:3)
at db.O.invoke(Unknown Source:29)
at db.a.start(Unknown Source:0)
at db.i.launch(Unknown Source:22)
at db.g.launch(Unknown Source:0)
at db.i.launch$default(Unknown Source:12)
at db.g.launch$default(Unknown Source:0)
at R7.i.
at fd.b.synchronized(Unknown Source:11) at Vc.e.get(Unknown Source:14) at bd.a.resolveInstance$koin_core(Unknown Source:22) at cd.a.a(Unknown Source:69) at cd.a.get(Unknown Source:116) at B7.I5.invoke(Unknown Source:486) at Vc.d.create(Unknown Source:54) ... 62 more Caused by: Y1.c: Unable to parse preferences proto. at b2.f.readFrom(Unknown Source:20) at c2.q.readFrom(Unknown Source:6) at a2.c.a(Unknown Source:101) at a2.c.readData(Unknown Source:0) at Y1.w0.invokeSuspend(Unknown Source:32) at Y1.w0.invoke(SourceFile:2) at Y1.w0.invoke(SourceFile:3) at a2.l.readScope(Unknown Source:98) at Y1.x0.readData(Unknown Source:9) at Y1.a0.access$readDataOrHandleCorruption(Unknown Source:158) at Y1.r.invokeSuspend(Unknown Source:129) at Y1.r.invoke(SourceFile:2) at Y1.r.invoke(SourceFile:1) at Y1.s0.lock(Unknown Source:97) at Y1.s.doRun(Unknown Source:95) at Y1.l0.runIfNeeded(Unknown Source:124) at Y1.a0.b(Unknown Source:99) at Y1.a0.access$readAndInitOrPropagateAndThrowFailure(Unknown Source:0) at Y1.P.invokeSuspend(Unknown Source:60) at x9.a.resumeWith(Unknown Source:11) at db.b0.run(Unknown Source:128) at jb.k.run(Unknown Source:3) at lb.l.run(Unknown Source:2) at lb.d.runSafely(Unknown Source:0) at lb.b.run(Unknown Source:57) Caused by: androidx.datastore.preferences.protobuf.N: Protocol message contained an invalid tag (zero). at androidx.datastore.preferences.protobuf.r.readTag(Unknown Source:29) at androidx.datastore.preferences.protobuf.t.getFieldNumber(Unknown Source:12) at androidx.datastore.preferences.protobuf.g0.i(Unknown Source:20) at androidx.datastore.preferences.protobuf.g0.mergeFrom(SourceFile:3) at androidx.datastore.preferences.protobuf.J.parseFrom(Unknown Source:24) at b2.j.parseFrom(Unknown Source:2) at b2.f.readFrom(Unknown Source:5) ... 24 more
User actions: 2025-03-19 22:35:56: MainActivity created
Same here:
Build version: 0.2.12
Current date: 2025-03-20 19:04:12
Device: Samsung SM-S901U
OS version: Android 14 (SDK 34)
Stack trace:
android.database.sqlite.SQLiteException: duplicate column name: canvasUrl (code 1 SQLITE_ERROR[1]): , while compiling: ALTER TABLE song ADD COLUMN canvasUrl TEXT
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1541)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:976)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:590)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:63)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:34)
at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:2654)
at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:2576)
at j4.d.execSQL(SourceFile:1)
at s7.a.migrate(Unknown Source:7)
at e4.f0.onUpgrade(Unknown Source:38)
at j4.k.onUpgrade(Unknown Source:14)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:521)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:419)
at j4.k.a(Unknown Source:4)
at j4.k.b(Unknown Source:47)
at j4.k.getSupportDatabase(Unknown Source:23)
at j4.m.getWritableDatabase(Unknown Source:9)
at e4.W.inTransaction(Unknown Source:4)
at e4.W.assertNotSuspendingTransaction(Unknown Source:0)
at e4.W.query(Unknown Source:8)
at g4.b.query(Unknown Source:10)
at j7.o.call(SourceFile:2)
at j7.o.call(SourceFile:1)
at e4.j.invokeSuspend(Unknown Source:10)
at x9.a.resumeWith(Unknown Source:11)
at db.b0.run(Unknown Source:128)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Suppressed: jb.g: [f1{Cancelling}@3dbfbf7, Dispatchers.Main.immediate]
User actions:
2025-03-20 19:04:10: MainActivity created
2025-03-20 19:04:10: MainActivity resumed
@sven6611 wrong link
Did you clear data of the app?
Did you clear data of the app?
I went back to an older version, but I can try again later... Should I try deleting the data?
Please test this again with the new version 0.2.19 and clear data.