不知道什么时候更新后出现了这么多报错,bot能正常运行但是某些功能报错
2022-05-24 01:41:06 W/stderr: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC
2022-05-24 01:41:06 W/stderr: at java.base/javax.crypto.JceSecurity.getInstance(JceSecurity.java:131)
2022-05-24 01:41:06 W/stderr: at java.base/javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:240)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.crypto.ECDH$Companion.calculateShareKey(ECDHJvmDesktop.kt:89)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.crypto.ECDH.lambda-3$testECDH(ECDHJvmDesktop.kt:49)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.crypto.ECDH.<clinit>(ECDHJvmDesktop.kt:61)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.crypto.ECDHKt.adjustToPublicKey(ECDH.kt:141)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.crypto.ECDHKt.adjustToPublicKey(ECDH.kt:136)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.crypto.ECDHInitialPublicKey.<init>(ECDH.kt:125)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.crypto.ECDHInitialPublicKey$$serializer.deserialize(ECDH.kt:122)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.crypto.ECDHInitialPublicKey$$serializer.deserialize(ECDH.kt:122)
2022-05-24 01:41:06 W/stderr: at kotlinx.serialization.protobuf.internal.ProtobufDecoder.decodeSerializableValue(ProtobufDecoding.kt:191)
2022-05-24 01:41:06 W/stderr: at kotlinx.serialization.protobuf.internal.ProtobufTaggedDecoder.decodeSerializableElement(ProtobufTaggedDecoder.kt:82)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.AccountSecretsImpl$$serializer.deserialize(AccountSecretsManager.kt:80)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.AccountSecretsImpl$$serializer.deserialize(AccountSecretsManager.kt:80)
2022-05-24 01:41:06 W/stderr: at kotlinx.serialization.protobuf.internal.ProtobufDecoder.decodeSerializableValue(ProtobufDecoding.kt:191)
2022-05-24 01:41:06 W/stderr: at kotlinx.serialization.protobuf.internal.ProtobufDecoder.decodeSerializableValue(ProtobufDecoding.kt:181)
2022-05-24 01:41:06 W/stderr: at kotlinx.serialization.protobuf.ProtoBuf.decodeFromByteArray(ProtoBuf.kt:137)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.io.serialization.SerializationUtils__UtilsKt.loadAs(utils.kt:230)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.io.serialization.SerializationUtils.loadAs(utils.kt:1)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.io.serialization.SerializationUtils__UtilsKt.loadAs$default(utils.kt:225)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.utils.io.serialization.SerializationUtils.loadAs$default(utils.kt:1)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.FileCacheAccountSecretsManager.getSecretsImpl(AccountSecretsManager.kt:198)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.FileCacheAccountSecretsManager.getSecrets(AccountSecretsManager.kt:192)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.CombinedAccountSecretsManager.getSecrets(AccountSecretsManager.kt:240)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.AccountSecretsManagerKt.getSecretsOrCreate(AccountSecretsManager.kt:152)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.createClient(BotClientHolder.kt:36)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.access$createClient(BotClientHolder.kt:24)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.BotClientHolderImpl$client$2.invoke(BotClientHolder.kt:28)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.BotClientHolderImpl$client$2.invoke(BotClientHolder.kt:28)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.utils.LateinitMutableProperty.getValue(LateinitMutableProperty.kt:38)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.getClient(BotClientHolder.kt:28)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.getClient(SsoProcessor.kt:108)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:123)
2022-05-24 01:41:06 W/stderr: at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$StateConnecting$startState$2.invokeSuspend(NettyNetworkHandler.kt:274)
2022-05-24 01:41:06 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2022-05-24 01:41:06 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2022-05-24 01:41:06 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2022-05-24 01:41:06 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
2022-05-24 01:41:06 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2022-05-24 01:41:06 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2022-05-24 01:41:06 W/stderr: Caused by: java.util.jar.JarException: The JCE Provider file:/C:/Users/Administrator/Desktop/mirai2/libs/mirai-core-all-2.11.0.jar is not signed.
2022-05-24 01:41:06 W/stderr: at java.base/javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:464)
2022-05-24 01:41:06 W/stderr: at java.base/javax.crypto.JarVerifier.verifyJars(JarVerifier.java:317)
2022-05-24 01:41:06 W/stderr: at java.base/javax.crypto.JarVerifier.verify(JarVerifier.java:260)
2022-05-24 01:41:06 W/stderr: at java.base/javax.crypto.ProviderVerifier.verify(ProviderVerifier.java:130)
2022-05-24 01:41:06 W/stderr: at java.base/javax.crypto.JceSecurity.verifyProvider(JceSecurity.java:190)
2022-05-24 01:41:06 W/stderr: at java.base/javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:218)
2022-05-24 01:41:06 W/stderr: at java.base/javax.crypto.JceSecurity.getInstance(JceSecurity.java:128)
2022-05-24 01:41:06 W/stderr: ... 39 more