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

[Bug] Fabric 1.20.2 网络图片无法加载 #22

Closed
kitUIN opened this issue Nov 13, 2023 · 0 comments
Closed

[Bug] Fabric 1.20.2 网络图片无法加载 #22

kitUIN opened this issue Nov 13, 2023 · 0 comments
Assignees

Comments

@kitUIN
Copy link
Owner

kitUIN commented Nov 13, 2023

Bug 描述

网络图片无法加载

复现问题的步骤

发送 `[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]`

日志记录

[22:26:17] [OkHttp Dispatcher/ERROR] (FabricLoader) Uncaught exception in thread "OkHttp Dispatcher"
 java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 4 out of bounds for byte[0]
	at java.lang.System.arraycopy(Native Method) ~[?:?]
	at com.github.chatimagecode.ChatImageHandler.getPicType(ChatImageHandler.java:138) ~[ChatImageCode-0.5.0.jar:?]
	at com.github.chatimagecode.ChatImageHandler.loadFile(ChatImageHandler.java:96) ~[ChatImageCode-0.5.0.jar:?]
	at com.github.chatimagecode.ChatImageHandler.loadFile(ChatImageHandler.java:117) ~[ChatImageCode-0.5.0.jar:?]
	at com.github.chatimagecode.ChatImageHttpHandler$1.onResponse(ChatImageHttpHandler.java:45) ~[ChatImageCode-0.5.0.jar:?]
	at okhttp3.RealCall$AsyncCall.execute(RealCall.java:174) ~[ChatImageCode-0.5.0.jar:?]
	at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[ChatImageCode-0.5.0.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]

模组加载器

Fabric

我的世界版本

1.20.x

Mod版本

1.1.11+1.20.2+fabric

电脑系统|JAVA版本

Win11,java 17

截图

No response

备注

No response

@kitUIN kitUIN self-assigned this Nov 13, 2023
kitUIN added a commit that referenced this issue Nov 13, 2023
@kitUIN kitUIN closed this as completed Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant