@lookstars 在 Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签 中说:
具体情况是使用搜图功能时会发生报错
2021-11-19 01:50:41 W/stderr: javax.imageio.IIOException: Can't get input stream from URL!
2021-11-19 01:50:41 W/stderr: at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1407)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.search.Saucenao.picToSearch(Saucenao.kt:64)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invokeSuspend(Pixiv.kt:40)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invoke(Pixiv.kt)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invoke(Pixiv.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
2021-11-19 01:50:41 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:142)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
2021-11-19 01:50:41 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2021-11-19 01:50:41 W/stderr: Caused by: java.io.FileNotFoundException: https://gchat.qpic.cn/gchatpic_new/0/0-0-24861FB0F28BD67378D809DD8F8104E4/0?
2021-11-19 01:50:41 W/stderr: at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1920)
2021-11-19 01:50:41 W/stderr: at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
2021-11-19 01:50:41 W/stderr: at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
2021-11-19 01:50:41 W/stderr: at java.base/java.net.URL.openStream(URL.java:1165)
2021-11-19 01:50:41 W/stderr: at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1405)
2021-11-19 01:50:41 W/stderr: ... 26 more
在此之前都是正常使用的,最近出现的报错,不知道是不是我哪里有点问题...