Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net.sqlcipher.database.SQLiteConstraintException: error code 19: UNIQUE constraint failed: VerifyContext.id #1033

Open
qq253682355 opened this issue Jul 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@qq253682355
Copy link

Hello, the dapp crashed when we opened our app to sign

version:
api platform(config.libdependencies["com.walletconnect:android-bom:1.13.1"])
api 'com.walletconnect:android-core'
api 'com.walletconnect:sign'
api 'com.walletconnect:web3wallet'

22:00:00.307 E net.sqlcipher.database.SQLiteConstraintException: error code 19: UNIQUE constraint failed: VerifyContext.id
22:00:00.307 E at net.sqlcipher.database.SQLiteStatement.native_execute(Native Method)
22:00:00.307 E at net.sqlcipher.database.SQLiteStatement.execute(SQLiteStatement.java:61)
22:00:00.308 E at com.squareup.sqldelight.android.AndroidPreparedStatement.execute(AndroidSqliteDriver.kt:220)
22:00:00.308 E at com.squareup.sqldelight.android.AndroidSqliteDriver$execute$2.invoke(AndroidSqliteDriver.kt:142)
22:00:00.308 E at com.squareup.sqldelight.android.AndroidSqliteDriver$execute$2.invoke(AndroidSqliteDriver.kt:142)
22:00:00.308 E at com.squareup.sqldelight.android.AndroidSqliteDriver.execute(AndroidSqliteDriver.kt:127)
22:00:00.308 E at com.squareup.sqldelight.android.AndroidSqliteDriver.execute(AndroidSqliteDriver.kt:142)
22:00:00.308 E at com.walletconnect.android.sdk.core.sdk.VerifyContextQueriesImpl.insertOrAbortVerifyContext(AndroidCoreDatabaseImpl.kt:442)
22:00:00.309 E at com.walletconnect.android.internal.common.storage.VerifyContextStorageRepository.insertOrAbort(VerifyContextStorageRepository.kt:12)
22:00:00.309 E at com.walletconnect.android.verify.domain.ResolveAttestationIdUseCase$insertContext$1$1.invokeSuspend(ResolveAttestationIdUseCase.kt:30)
22:00:00.309 E at com.walletconnect.android.verify.domain.ResolveAttestationIdUseCase$insertContext$1$1.invoke(Unknown Source:8)
22:00:00.309 E at com.walletconnect.android.verify.domain.ResolveAttestationIdUseCase$insertContext$1$1.invoke(Unknown Source:4)
22:00:00.309 E at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
22:00:00.309 E at kotlinx.coroutines.SupervisorKt.supervisorScope(Supervisor.kt:61)
22:00:00.309 E at com.walletconnect.android.verify.domain.ResolveAttestationIdUseCase$insertContext$1.invokeSuspend(ResolveAttestationIdUseCase.kt:29)
22:00:00.310 E at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
22:00:00.310 E at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
22:00:00.310 E at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
22:00:00.310 E at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:100)
22:00:00.310 E at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
22:00:00.310 E at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
22:00:00.311 E at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
22:00:00.311 E at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
22:00:00.311 E Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@6a00c8c, Dispatchers.IO]
22:00:00.311 E Back traces ends.

@qq253682355 qq253682355 added the bug Something isn't working label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant