You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-8
Process: com.yiyun6.bot, PID: 29947
java.lang.ExceptionInInitializerError
at net.mamoe.mirai.utils.cryptor.ECDHAndroidKt.ECDH(ECDHAndroid.kt:34)
at net.mamoe.mirai.qqandroid.network.QQAndroidClient.(QQAndroidClient.kt:51)
at net.mamoe.mirai.qqandroid.QQAndroidBotBase.(QQAndroidBot.kt:58)
at net.mamoe.mirai.qqandroid.QQAndroidBot.(QQAndroidBot.kt:33)
at net.mamoe.mirai.qqandroid.QQAndroid.newBot(QQAndroid.kt:27)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Caused by: java.lang.IllegalStateException: cannot init BouncyCastle
at net.mamoe.mirai.utils.cryptor.ECDH.<clinit>(ECDHAndroid.kt:60)
at net.mamoe.mirai.utils.cryptor.ECDHAndroidKt.ECDH(ECDHAndroid.kt:34)
at net.mamoe.mirai.qqandroid.network.QQAndroidClient.<init>(QQAndroidClient.kt:51)
at net.mamoe.mirai.qqandroid.QQAndroidBotBase.<init>(QQAndroidBot.kt:58)
at net.mamoe.mirai.qqandroid.QQAndroidBot.<init>(QQAndroidBot.kt:33)
at net.mamoe.mirai.qqandroid.QQAndroid.newBot(QQAndroid.kt:27)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Caused by: java.lang.NoSuchFieldException: No field PROVIDER_NAME in class Lcom/android/org/bouncycastle/jce/provider/BouncyCastleProvider; (declaration of 'com.android.org.bouncycastle.jce.provider.BouncyCastleProvider' appears in /apex/com.android.runtime/javalib/bouncycastle.jar)
at java.lang.Class.getDeclaredField(Native Method)
at net.mamoe.mirai.utils.cryptor.ECDH.(ECDHAndroid.kt:51)
at net.mamoe.mirai.utils.cryptor.ECDHAndroidKt.ECDH(ECDHAndroid.kt:34)
at net.mamoe.mirai.qqandroid.network.QQAndroidClient.(QQAndroidClient.kt:51)
at net.mamoe.mirai.qqandroid.QQAndroidBotBase.(QQAndroidBot.kt:58)
at net.mamoe.mirai.qqandroid.QQAndroidBot.(QQAndroidBot.kt:33)
at net.mamoe.mirai.qqandroid.QQAndroid.newBot(QQAndroid.kt:27)
The text was updated successfully, but these errors were encountered:
E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-8
Process: com.yiyun6.bot, PID: 29947
java.lang.ExceptionInInitializerError
at net.mamoe.mirai.utils.cryptor.ECDHAndroidKt.ECDH(ECDHAndroid.kt:34)
at net.mamoe.mirai.qqandroid.network.QQAndroidClient.(QQAndroidClient.kt:51)
at net.mamoe.mirai.qqandroid.QQAndroidBotBase.(QQAndroidBot.kt:58)
at net.mamoe.mirai.qqandroid.QQAndroidBot.(QQAndroidBot.kt:33)
at net.mamoe.mirai.qqandroid.QQAndroid.newBot(QQAndroid.kt:27)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Caused by: java.lang.NoSuchFieldException: No field PROVIDER_NAME in class Lcom/android/org/bouncycastle/jce/provider/BouncyCastleProvider; (declaration of 'com.android.org.bouncycastle.jce.provider.BouncyCastleProvider' appears in /apex/com.android.runtime/javalib/bouncycastle.jar)
at java.lang.Class.getDeclaredField(Native Method)
at net.mamoe.mirai.utils.cryptor.ECDH.(ECDHAndroid.kt:51)
at net.mamoe.mirai.utils.cryptor.ECDHAndroidKt.ECDH(ECDHAndroid.kt:34)
at net.mamoe.mirai.qqandroid.network.QQAndroidClient.(QQAndroidClient.kt:51)
at net.mamoe.mirai.qqandroid.QQAndroidBotBase.(QQAndroidBot.kt:58)
at net.mamoe.mirai.qqandroid.QQAndroidBot.(QQAndroidBot.kt:33)
at net.mamoe.mirai.qqandroid.QQAndroid.newBot(QQAndroid.kt:27)
The text was updated successfully, but these errors were encountered: