Trail-Sense icon indicating copy to clipboard operation
Trail-Sense copied to clipboard

Crash when creating path with photo maps

Open kylecorry31 opened this issue 1 year ago • 0 comments
trafficstars

User reports when they try to create a path using their photo map, it fails every time. I'm not able to reproduce the issue on my device, but I believe I know what I can do to fix it.

android.database.sqlite.SQLiteConstraintException: NOT NULL constraint failed: waypoints.longitude (code 1299 SQLITE_CONSTRAINT_NOTNULL) at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method) at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:940) at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790) at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:89) at j1.d.c(SourceFile:3) at d1.f.i(SourceFile:27) at t7.l.call(SourceFile:21) at androidx.room.CoroutinesRoom$Companion$execute$2.n(SourceFile:8) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.l(SourceFile:1) at m9.x.run(SourceFile:97) at C.c.run(SourceFile:2) 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: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [d0{Cancelling}@4e295ec, Dispatchers.Main.immediate]

kylecorry31 avatar Jun 18 '24 17:06 kylecorry31