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

不支持 mirai 2.13.0 #167

Closed
InoryS opened this issue Nov 2, 2022 · 11 comments · Fixed by #168
Closed

不支持 mirai 2.13.0 #167

InoryS opened this issue Nov 2, 2022 · 11 comments · Fixed by #168
Labels
bug Something isn't working

Comments

@InoryS
Copy link

InoryS commented Nov 2, 2022

描述这个Bug
将 mirai 升级到 2.13.0 后出现

# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005)t pc=0x729a54b6[, pid=256?, tid=42281
#
# JRE version: OpenJDK Runtime Environment Zulu11.60+19-CA (11.0.17+8) (build 11.0.17+8-LTS)
# Java VM: OpenJDK Client VM Zulu11.60+19-CA (11.0.17+8-LTS, mixed mode, serial gc, windows-x86)
# Problematic frame:
# h=  [jvm.dll+0x254b6]>
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\\Desktop\mirailoader\mcl-2.1.1\hs_err_pid256.log
#
# If you would like to submit a bug report, please visit:
#   http://www.azul.com/support/

复现步骤
1.使用 mirai console loader 2.1.1
2.使用 .\mcl --update-package org.itxtech:mirai-native --channel beta --type plugin 安装mirai native
3.安装任意 mirai-native 插件,如 coolq-http-api v4.15.0
4.执行.\mcl -u
5.收到报错

测试有任意 mirai native 插件即报错(比如 http.dll 和 http.json),没有则能正常启动。
mirai v2.12.3 时能正常运行。

期望的行为
mirai native 能在 mirai v2.13.0 正常运行。

截图和日志

控制台输出
  20:37:56 [INFO] iTXTech Mirai Console Loader version 2.1.1-d66fada
  20:37:56 [INFO] https://github.com/iTXTech/mirai-console-loader
  20:37:56 [INFO] This program is licensed under GNU AGPL v3
  20:37:59 [INFO] Mirai Console Loader Announcement:
Mirai Console Loader 公告栏

如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
`- 如 Unsupported image type for ExternalResource *
`  considering use gif/png/bmp/jpg format.
`- Tracker: https://github.com/mamoe/mirai/issues/new/choose

常用资源整合
`- https://mirai.mamoe.net/topic/653

MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。

  20:37:59 [INFO] Verifying "net.mamoe:mirai-console" v2.13.0
  20:38:00 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.13.0
  20:38:00 [INFO] Verifying "net.mamoe:mirai-core-all" v2.13.0
  20:38:01 [INFO] Verifying "org.itxtech:mcl-addon" v2.0.2
  20:38:01 [INFO] Verifying "org.itxtech:mirai-native" v2.0.0
2022-11-02 20:38:03 I/main: Starting mirai-console...
2022-11-02 20:38:03 I/main:

==================================[ Mirai consosle 2.13.0 ]===================================
 __       __ __                   __  ______                                      __
|  \     /  \  \                 |  \/      \                                    |  \
| ▓▓\   /  ▓▓\▓▓ ______   ______  \▓▓  ▓▓▓▓▓▓\ ______  _______   _______  ______ | ▓▓ ______
| ▓▓▓\ /  ▓▓▓  \/      \ |      \|  \ ▓▓   \▓▓/      \|       \ /       \/      \| ▓▓/      \
| ▓▓▓▓\  ▓▓▓▓ ▓▓  ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓     |  ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\  ▓▓▓▓▓▓▓  ▓▓▓▓▓▓\ ▓▓  ▓▓▓▓▓▓\
| ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓   \▓▓/      ▓▓ ▓▓ ▓▓   __| ▓▓  | ▓▓ ▓▓  | ▓▓\▓▓    \| ▓▓  | ▓▓ ▓▓ ▓▓    ▓▓
| ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓     |  ▓▓▓▓▓▓▓ ▓▓ ▓▓__/  \ ▓▓__/ ▓▓ ▓▓  | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
| ▓▓  \▓ | ▓▓ ▓▓ ▓▓      \▓▓    ▓▓ ▓▓\▓▓    ▓▓\▓▓    ▓▓ ▓▓  | ▓▓       ▓▓\▓▓    ▓▓ ▓▓\▓▓     \
 \▓▓      \▓▓\▓▓\▓▓       \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓   \▓▓\▓▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓


2022-11-02 20:38:03 I/main: Backend: version 2.13.0, built on 2022-11-01 10:47:11.
2022-11-02 20:38:03 I/main: Frontend Terminal: version 2.13.0, provided by Mamoe Technologies
2022-11-02 20:38:03 I/main: Welcome to visit https://mirai.mamoe.net/
2022-11-02 20:38:03 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2022-11-02 20:38:03 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
2022-11-02 20:38:03 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2022-11-02 20:38:04 I/plugin: Successfully loaded plugin MiraiNative v2.0.0-beta.2
2022-11-02 20:38:04 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
2022-11-02 20:38:05 I/MiraiNative: 正在加载 Mirai Native Bridge C:\Users\\Desktop\mirailoader\mcl-2.1.1\data\org.itxtech.mirainative\CQP.dll
2022-11-02 20:38:05 I/MiraiNative: 正在加载外部库 C:\Users\\Desktop\mirailoader\mcl-2.1.1\data\org.itxtech.mirainative\libraries\libiconv.dll
2022-11-02 20:38:05 I/MiraiNative: 正在加载外部库 C:\Users\\Desktop\mirailoader\mcl-2.1.1\data\org.itxtech.mirainative\libraries\sqlite3.dll
2022-11-02 20:38:05 I/MiraiNative: 插件 http.dll 已被加载,返回值为 0 。
FFmpeg version SVN-r11143, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static
  libavutil version: 49.5.0
  libavcodec version: 51.48.0
  libavformat version: 52.1.0
  built on Dec  3 2007 17:42:57, gcc: 4.2.2 (mingw32)
FFmpeg SVN-r11143
libavutil   3212544
libavcodec  3354624
libavformat 3408128
2022-11-02 20:38:05 I/MCL Addon: iTXTech MCL Version: 2.1.1-d66fada
2022-11-02 20:38:05 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
2022-11-02 20:38:05 I/main: 4 plugin(s) enabled.
2022-11-02 20:38:05 I/WindowHelperJvm: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 `mirai.no-desktop` 以关闭.
2022-11-02 20:38:05 I/WindowHelperJvm: Mirai is using desktop. Captcha will be thrown by window popup. You can add `mirai.no-desktop` to JVM properties (-Dmirai.no-desktop) to disable it.
2022-11-02 20:38:05 I/main: Auto-login , protocol: ANDROID_PAD, heartbeatStrategy: STAT_HB
2022-11-02 20:38:06 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
2022-11-02 20:38:06 I/Bot.1: Loaded account secrets from local cache.
2022-11-02 20:38:06 I/Bot.1: Saved account secrets to local cache for fast login.
2022-11-02 20:38:07 I/Bot.1: Login successful.
2022-11-02 20:38:07 I/Bot.1: Bot login successful.
2022-11-02 20:38:07 I/MiraiNative: Mirai Native 正启用所有插件。
2022-11-02 20:38:07 I/main: mirai-console started successfully.
> #
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x729a54b6, pid=2072, tid=4072
#
# JRE version: OpenJDK Runtime Environment Zulu11.60+19-CA (11.0.17+8) (build 11.0.17+8-LTS)
# Java VM: OpenJDK Client VM Zulu11.60+19-CA (11.0.17+8-LTS, mixed mode, serial gc, windows-x86)
# Problematic frame:
# V  [jvm.dll+0x254b6]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\\Desktop\mirailoader\mcl-2.1.1\hs_err_pid2072.log
#
# If you would like to submit a bug report, please visit:
#   http://www.azul.com/support/
错误报告
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x729a54b6, pid=6016, tid=504
#
# JRE version: OpenJDK Runtime Environment Zulu11.60+19-CA (11.0.17+8) (build 11.0.17+8-LTS)
# Java VM: OpenJDK Client VM Zulu11.60+19-CA (11.0.17+8-LTS, mixed mode, serial gc, windows-x86)
# Problematic frame:
# V  [jvm.dll+0x254b6]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://www.azul.com/support/
#

---------------  S U M M A R Y ------------

Command Line: mcl.jar -u

---------------  T H R E A D  ---------------

Current thread (0x169d6400):  JavaThread "MiraiNative Main" daemon [_thread_in_vm, id=504, stack(0x1da40000,0x1da90000)]

Stack: [0x1da40000,0x1da90000],  sp=0x1da8f174,  free space=316k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x254b6]
V  [jvm.dll+0x196b0f]
C  [CQP.dll+0x2b63]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.itxtech.mirainative.Bridge.callIntMethod(I[B)I+0
j  org.itxtech.mirainative.bridge.NativeBridge.startPlugin(Lorg/itxtech/mirainative/plugin/NativePlugin;)V+138
j  org.itxtech.mirainative.manager.PluginManager.enablePlugin(Lorg/itxtech/mirainative/plugin/NativePlugin;)Z+33
j  org.itxtech.mirainative.manager.PluginManager$enablePlugins$1.invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;+112
j  kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Ljava/lang/Object;)V+44
j  kotlinx.coroutines.DispatchedTask.run()V+314
j  java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object;+4 java.base@11.0.17
j  java.util.concurrent.FutureTask.run()V+39 java.base@11.0.17
j  java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V+28 java.base@11.0.17
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92 java.base@11.0.17
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@11.0.17
j  java.lang.Thread.run()V+11 java.base@11.0.17
v  ~StubRoutines::call_stub

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x00000000


Register to memory mapping:

EIP=0x729a54b6 jvm.dll
EAX=0x0 is NULL
EBX=0x0 is NULL
ECX=0x72b16ab0 jvm.dll
EDX=0x00000004 is an unknown value
ESP=0x1da8f174 is pointing into the stack for thread: 0x169d6400
EBP=0x1da8f174 is pointing into the stack for thread: 0x169d6400
ESI=0x169d6400 is a thread
EDI=0x169d665c points into unknown readable memory: 0x72dc8508 | 08 85 dc 72


Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x72b16ab0, EDX=0x00000004
ESP=0x1da8f174, EBP=0x1da8f174, ESI=0x169d6400, EDI=0x169d665c
EIP=0x729a54b6, EFLAGS=0x00010246

Top of Stack: (sp=0x1da8f174)
0x1da8f174:   1da8f188 72b16b0f 00000000 169d665c
0x1da8f184:   00000000 1da8f1b8 71d22b63 169d6400
0x1da8f194:   00000000 0000013c 2e421000 2e420ef4
0x1da8f1a4:   00000001 6fb2ed0f 169d665c 00000900
0x1da8f1b4:   7e2b81fd 2e426000 6fdeadda 00000000
0x1da8f1c4:   00000001 6fb3ccb0 1ddb0088 6fb3b20b
0x1da8f1d4:   2e420ef4 2e41c0e0 6fb5a32e 2e420ef4
0x1da8f1e4:   0000013c 2e41c1c0 2e418000 2e41c1c0 

Instructions: (pc=0x729a54b6)
0x729a53b6:   f6 74 07 8b ce e8 d0 df 23 00 5e 5b 8b e5 5d c2
0x729a53c6:   04 00 cc cc cc cc cc cc cc cc 55 8b ec a1 f0 43
0x729a53d6:   df 72 8b 40 08 48 83 f8 03 77 23 ff 24 85 30 54
0x729a53e6:   9a 72 b8 b0 54 9a 72 eb 38 b8 b0 54 9a 72 eb 31
0x729a53f6:   b8 b0 54 9a 72 eb 2a b8 c0 54 9a 72 eb 23 68 50
0x729a5406:   d5 d0 72 68 e8 00 00 00 68 88 d5 d0 72 68 00 00
0x729a5416:   00 e0 e8 43 06 0c 00 83 c4 10 e8 2b 87 25 00 33
0x729a5426:   c0 a3 38 56 dc 72 5d ff e0 90 e8 53 9a 72 ef 53
0x729a5436:   9a 72 f6 53 9a 72 fd 53 9a 72 55 8b ec a1 f0 43
0x729a5446:   df 72 8b 40 08 48 83 f8 03 77 23 ff 24 85 a0 54
0x729a5456:   9a 72 b8 b0 54 9a 72 eb 38 b8 b0 54 9a 72 eb 31
0x729a5466:   b8 b0 54 9a 72 eb 2a b8 c0 54 9a 72 eb 23 68 50
0x729a5476:   d5 d0 72 68 e8 00 00 00 68 88 d5 d0 72 68 00 00
0x729a5486:   00 e0 e8 d3 05 0c 00 83 c4 10 e8 bb 86 25 00 33
0x729a5496:   c0 a3 3c 56 dc 72 5d ff e0 90 58 54 9a 72 5f 54
0x729a54a6:   9a 72 66 54 9a 72 6d 54 9a 72 55 8b ec 8b 45 08
0x729a54b6:   8b 00 5d c3 cc cc cc cc cc cc 55 8b ec 8b 45 08
0x729a54c6:   8b 00 85 c0 74 0c 8b 0d f0 43 df 72 50 e8 58 4b
0x729a54d6:   2a 00 5d c3 cc cc cc cc cc cc 53 56 8b f1 8b 4e
0x729a54e6:   08 e8 e4 0c 08 00 8b 4e 08 8b d8 e8 7a 47 01 00
0x729a54f6:   3b d8 73 30 57 eb 03 8d 49 00 8b 4e 08 53 e8 57
0x729a5506:   6f 0d 00 8b c8 8b 78 04 e8 8d 6e 0d 00 50 57 8b
0x729a5516:   ce e8 14 fc ff ff 8b 4e 08 43 e8 4b 47 01 00 3b
0x729a5526:   d8 72 d7 5f 8b ce 5e 5b e9 0d 00 00 00 cc cc cc
0x729a5536:   cc cc cc cc cc cc cc cc cc cc 56 8b f1 57 8b 4e
0x729a5546:   08 e8 24 47 01 00 89 46 1c 90 8b 4e 08 e8 78 0c
0x729a5556:   08 00 3b 46 1c 72 6a 8b 4e 08 e8 6b 0c 08 00 8b
0x729a5566:   4e 08 3b 46 1c 0f 87 86 00 00 00 e8 3a 6f 0d 00
0x729a5576:   84 c0 0f 85 26 01 00 00 8b 4e 08 e8 8a 6f 0d 00
0x729a5586:   8b 56 1c 8b f8 8b ca 2b 4e 20 83 3d 18 44 df 72
0x729a5596:   00 74 1d 8b c1 0f af c7 c1 e8 0a 50 51 ff 76 18
0x729a55a6:   68 20 15 d1 72 e8 20 f7 ff ff 8b 56 1c 83 c4 10 


Stack slot to memory mapping:
stack at sp + 0 slots: 0x1da8f188 is pointing into the stack for thread: 0x169d6400
stack at sp + 1 slots: 0x72b16b0f jvm.dll
stack at sp + 2 slots: 0x0 is NULL
stack at sp + 3 slots: 0x169d665c points into unknown readable memory: 0x72dc8508 | 08 85 dc 72
stack at sp + 4 slots: 0x0 is NULL
stack at sp + 5 slots: 0x1da8f1b8 is pointing into the stack for thread: 0x169d6400
stack at sp + 6 slots: 0x71d22b63 CQP.dll
stack at sp + 7 slots: 0x169d6400 is a thread


---------------  P R O C E S S  ---------------

Threads class SMR info:
_java_thread_list=0x1824df80, length=31, elements={
0x00e38800, 0x00ee4400, 0x00efc400, 0x00f0a400,
0x00f0c400, 0x00f0e000, 0x14fe9000, 0x14fefc00,
0x150a7000, 0x157bcc00, 0x15834000, 0x1584d800,
0x16938400, 0x16a44000, 0x16a6a800, 0x16a77800,
0x16a74800, 0x169d6800, 0x169d5400, 0x169d7000,
0x169d5c00, 0x169d7800, 0x169d4400, 0x169d4c00,
0x169d6400, 0x18269c00, 0x1826b400, 0x1826ac00,
0x18267800, 0x1826a400, 0x1826b800
}

Java Threads: ( => current thread )
  0x00e38800 JavaThread "main" [_thread_blocked, id=6872, stack(0x00c90000,0x00ce0000)]
  0x00ee4400 JavaThread "Reference Handler" daemon [_thread_blocked, id=4732, stack(0x14ea0000,0x14ef0000)]
  0x00efc400 JavaThread "Finalizer" daemon [_thread_blocked, id=4664, stack(0x14f30000,0x14f80000)]
  0x00f0a400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2996, stack(0x15220000,0x15270000)]
  0x00f0c400 JavaThread "Attach Listener" daemon [_thread_blocked, id=1392, stack(0x152b0000,0x15300000)]
  0x00f0e000 JavaThread "Service Thread" daemon [_thread_blocked, id=2296, stack(0x15340000,0x15390000)]
  0x14fe9000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=5276, stack(0x153d0000,0x15420000)]
  0x14fefc00 JavaThread "Sweeper thread" daemon [_thread_blocked, id=2352, stack(0x15460000,0x154b0000)]
  0x150a7000 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=7084, stack(0x15580000,0x155d0000)]
  0x157bcc00 JavaThread "HttpClient-2-SelectorManager" daemon [_thread_in_native, id=1468, stack(0x16200000,0x16250000)]
  0x15834000 JavaThread "HttpClient-2-Worker-0" daemon [_thread_blocked, id=1636, stack(0x16420000,0x16470000)]
  0x1584d800 JavaThread "HttpClient-2-Worker-1" daemon [_thread_blocked, id=260, stack(0x164b0000,0x16500000)]
  0x16938400 JavaThread "WindowsStreamPump" daemon [_thread_in_native, id=4172, stack(0x17240000,0x17290000)]
  0x16a44000 JavaThread "JLine Input Daemon" daemon [_thread_blocked, id=2240, stack(0x173d0000,0x17420000)]
  0x16a6a800 JavaThread "DefaultDispatcher-worker-1" daemon [_thread_blocked, id=7160, stack(0x17460000,0x174b0000)]
  0x16a77800 JavaThread "DefaultDispatcher-worker-2" daemon [_thread_blocked, id=2536, stack(0x174f0000,0x17540000)]
  0x16a74800 JavaThread "kotlinx.coroutines.DefaultExecutor" daemon [_thread_blocked, id=3420, stack(0x17580000,0x175d0000)]
  0x169d6800 JavaThread "Mirai Console Logging#0" daemon [_thread_blocked, id=3460, stack(0x16170000,0x161c0000)]
  0x169d5400 JavaThread "Mirai Console Logging#1" daemon [_thread_blocked, id=3988, stack(0x17b10000,0x17b60000)]
  0x169d7000 JavaThread "Mirai Console Logging#2" daemon [_thread_blocked, id=5908, stack(0x17ba0000,0x17bf0000)]
  0x169d5c00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3388, stack(0x193b0000,0x19400000)]
  0x169d7800 JavaThread "AWT-Shutdown" [_thread_blocked, id=1160, stack(0x19440000,0x19490000)]
  0x169d4400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3752, stack(0x194d0000,0x19520000)]
  0x169d4c00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3876, stack(0x1b7e0000,0x1b830000)]
=>0x169d6400 JavaThread "MiraiNative Main" daemon [_thread_in_vm, id=504, stack(0x1da40000,0x1da90000)]
  0x18269c00 JavaThread "MiraiNative Menu" daemon [_thread_blocked, id=2348, stack(0x1dad0000,0x1db20000)]
  0x1826b400 JavaThread "DefaultDispatcher-worker-3" daemon [_thread_blocked, id=4028, stack(0x1b870000,0x1b8c0000)]
  0x1826ac00 JavaThread "nioEventLoopGroup-2-1" [_thread_in_native, id=6684, stack(0x1bc00000,0x1bc50000)]
  0x18267800 JavaThread "nioEventLoopGroup-2-2" [_thread_in_native, id=6692, stack(0x1bd90000,0x1bde0000)]
  0x1826a400 JavaThread "nioEventLoopGroup-2-3" [_thread_in_native, id=2324, stack(0x1d030000,0x1d080000)]
  0x1826b800 JavaThread "nioEventLoopGroup-2-4" [_thread_in_native, id=6020, stack(0x1d1c0000,0x1d210000)]

Other Threads:
  0x00ee1c00 VMThread "VM Thread" [stack: 0x04990000,0x049e0000] [id=4532]
  0x15090800 WatcherThread [stack: 0x154f0000,0x15540000] [id=6192]

Threads with active compile tasks:

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 def new generation   total 15552K, used 11192K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,  73% used [0x04a00000, 0x053ee8b8, 0x05780000)
  from space 1728K,  59% used [0x05780000, 0x0587f748, 0x05930000)
  to   space 1728K,   0% used [0x05930000, 0x05930000, 0x05ae0000)
 tenured generation   total 34512K, used 27343K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  79% used [0x09f50000, 0x0ba03f60, 0x0ba04000, 0x0c104000)
 Metaspace       used 38076K, capacity 38611K, committed 38616K, reserved 39296K

Card table byte_map: [0x048a0000,0x04930000] _byte_map_base: 0x0487b000

Polling page: 0x00ce0000

Metaspace:

Usage:
   37.71 MB capacity,    37.18 MB ( 99%) used,   363.22 KB ( <1%) free+waste,   171.76 KB ( <1%) overhead. 

Virtual space:
     38.38 MB reserved,      37.71 MB ( 98%) committed 

Chunk freelists:
5.00 KB

MaxMetaspaceSize: 4.00 GB
No class space
Initial GC threshold: 12.00 MB
Current GC threshold: 40.98 MB
CDS: off

CodeCache: size=32768Kb used=3832Kb max_used=3832Kb free=28935Kb
 bounds [0x02820000, 0x02be0000, 0x04820000]
 total_blobs=2698 nmethods=2318 adapters=312
 compilation: enabled
              stopped_count=0, restarted_count=0
 full_count=0

Compilation events (20 events):
Event: 11.793 Thread 0x14fe9000 2308             io.ktor.utils.io.core.internal.UnsafeKt::completeReadHead (92 bytes)
Event: 11.794 Thread 0x14fe9000 nmethod 2308 0x02bda888 code [0x02bdaa80, 0x02bdaed8]
Event: 11.794 Thread 0x14fe9000 2309             kotlinx.serialization.internal.TaggedDecoder::decodeByteElement (17 bytes)
Event: 11.795 Thread 0x14fe9000 nmethod 2309 0x02bdb2c8 code [0x02bdb430, 0x02bdb618]
Event: 11.797 Thread 0x14fe9000 2310             kotlin.coroutines.AbstractCoroutineContextElement::getKey (5 bytes)
Event: 11.797 Thread 0x14fe9000 nmethod 2310 0x02bdb7c8 code [0x02bdb8d0, 0x02bdb950]
Event: 11.797 Thread 0x14fe9000 2311             kotlinx.coroutines.internal.LockFreeLinkedListNode::getNext (35 bytes)
Event: 11.797 Thread 0x14fe9000 nmethod 2311 0x02bdb988 code [0x02bdbab0, 0x02bdbbac]
Event: 11.798 Thread 0x14fe9000 2312             kotlinx.coroutines.JobImpl::handlesException (83 bytes)
Event: 11.799 Thread 0x14fe9000 nmethod 2312 0x02bdbc48 code [0x02bdbe80, 0x02bdc49c]
Event: 11.799 Thread 0x14fe9000 2313             kotlinx.coroutines.JobImpl::getHandlesException$kotlinx_coroutines_core (5 bytes)
Event: 11.799 Thread 0x14fe9000 nmethod 2313 0x02bdc908 code [0x02bdca10, 0x02bdca90]
Event: 11.800 Thread 0x14fe9000 2314             kotlin.coroutines.jvm.internal.ContinuationImpl::getContext (9 bytes)
Event: 11.800 Thread 0x14fe9000 nmethod 2314 0x02bdcac8 code [0x02bdcc00, 0x02bdcd84]
Event: 11.800 Thread 0x14fe9000 2315             kotlin.coroutines.AbstractCoroutineContextElement::get (6 bytes)
Event: 11.801 Thread 0x14fe9000 nmethod 2315 0x02bdcec8 code [0x02bdd030, 0x02bdd248]
Event: 11.802 Thread 0x14fe9000 2316             net.mamoe.mirai.internal.network.component.ConcurrentComponentStorage::getOrNull (17 bytes)
Event: 11.802 Thread 0x14fe9000 nmethod 2316 0x02bdd408 code [0x02bdd560, 0x02bdd71c]
Event: 11.818 Thread 0x14fe9000 2317             java.lang.Package::isSealed (26 bytes)
Event: 11.818 Thread 0x14fe9000 nmethod 2317 0x02bdd888 code [0x02bdd990, 0x02bdda60]

GC Heap History (20 events):
Event: 7.991 GC heap before
{Heap before GC invocations=16 (full 2):
 def new generation   total 9856K, used 9272K [0x04a00000, 0x054b0000, 0x09f50000)
  eden space 8768K, 100% used [0x04a00000, 0x05290000, 0x05290000)
  from space 1088K,  46% used [0x053a0000, 0x0541e278, 0x054b0000)
  to   space 1088K,   0% used [0x05290000, 0x05290000, 0x053a0000)
 tenured generation   total 21792K, used 16115K [0x09f50000, 0x0b498000, 0x14a00000)
   the space 21792K,  73% used [0x09f50000, 0x0af0cfe0, 0x0af0d000, 0x0b498000)
 Metaspace       used 22515K, capacity 22891K, committed 22912K, reserved 22912K
}
Event: 7.995 GC heap after
{Heap after GC invocations=17 (full 2):
 def new generation   total 9856K, used 929K [0x04a00000, 0x054b0000, 0x09f50000)
  eden space 8768K,   0% used [0x04a00000, 0x04a00000, 0x05290000)
  from space 1088K,  85% used [0x05290000, 0x053786b0, 0x053a0000)
  to   space 1088K,   0% used [0x053a0000, 0x053a0000, 0x054b0000)
 tenured generation   total 21792K, used 16115K [0x09f50000, 0x0b498000, 0x14a00000)
   the space 21792K,  73% used [0x09f50000, 0x0af0cfe0, 0x0af0d000, 0x0b498000)
 Metaspace       used 22515K, capacity 22891K, committed 22912K, reserved 22912K
}
Event: 8.251 GC heap before
{Heap before GC invocations=17 (full 2):
 def new generation   total 9856K, used 9697K [0x04a00000, 0x054b0000, 0x09f50000)
  eden space 8768K, 100% used [0x04a00000, 0x05290000, 0x05290000)
  from space 1088K,  85% used [0x05290000, 0x053786b0, 0x053a0000)
  to   space 1088K,   0% used [0x053a0000, 0x053a0000, 0x054b0000)
 tenured generation   total 21792K, used 16115K [0x09f50000, 0x0b498000, 0x14a00000)
   the space 21792K,  73% used [0x09f50000, 0x0af0cfe0, 0x0af0d000, 0x0b498000)
 Metaspace       used 23973K, capacity 24342K, committed 24448K, reserved 24960K
}
Event: 8.256 GC heap after
{Heap after GC invocations=18 (full 2):
 def new generation   total 9856K, used 839K [0x04a00000, 0x054b0000, 0x09f50000)
  eden space 8768K,   0% used [0x04a00000, 0x04a00000, 0x05290000)
  from space 1088K,  77% used [0x053a0000, 0x05471d08, 0x054b0000)
  to   space 1088K,   0% used [0x05290000, 0x05290000, 0x053a0000)
 tenured generation   total 21792K, used 16584K [0x09f50000, 0x0b498000, 0x14a00000)
   the space 21792K,  76% used [0x09f50000, 0x0af82300, 0x0af82400, 0x0b498000)
 Metaspace       used 23973K, capacity 24342K, committed 24448K, reserved 24960K
}
Event: 8.433 GC heap before
{Heap before GC invocations=18 (full 2):
 def new generation   total 9856K, used 9607K [0x04a00000, 0x054b0000, 0x09f50000)
  eden space 8768K, 100% used [0x04a00000, 0x05290000, 0x05290000)
  from space 1088K,  77% used [0x053a0000, 0x05471d08, 0x054b0000)
  to   space 1088K,   0% used [0x05290000, 0x05290000, 0x053a0000)
 tenured generation   total 21792K, used 16584K [0x09f50000, 0x0b498000, 0x14a00000)
   the space 21792K,  76% used [0x09f50000, 0x0af82300, 0x0af82400, 0x0b498000)
 Metaspace       used 24179K, capacity 24571K, committed 24576K, reserved 24960K
}
Event: 8.440 GC heap after
{Heap after GC invocations=19 (full 2):
 def new generation   total 9856K, used 1088K [0x04a00000, 0x054b0000, 0x09f50000)
  eden space 8768K,   0% used [0x04a00000, 0x04a00000, 0x05290000)
  from space 1088K, 100% used [0x05290000, 0x053a0000, 0x053a0000)
  to   space 1088K,   0% used [0x053a0000, 0x053a0000, 0x054b0000)
 tenured generation   total 21792K, used 18254K [0x09f50000, 0x0b498000, 0x14a00000)
   the space 21792K,  83% used [0x09f50000, 0x0b123818, 0x0b123a00, 0x0b498000)
 Metaspace       used 24179K, capacity 24571K, committed 24576K, reserved 24960K
}
Event: 8.605 GC heap before
{Heap before GC invocations=19 (full 2):
 def new generation   total 9856K, used 8319K [0x04a00000, 0x054b0000, 0x09f50000)
  eden space 8768K,  82% used [0x04a00000, 0x0510ffb8, 0x05290000)
  from space 1088K, 100% used [0x05290000, 0x053a0000, 0x053a0000)
  to   space 1088K,   0% used [0x053a0000, 0x053a0000, 0x054b0000)
 tenured generation   total 21792K, used 18254K [0x09f50000, 0x0b498000, 0x14a00000)
   the space 21792K,  83% used [0x09f50000, 0x0b123818, 0x0b123a00, 0x0b498000)
 Metaspace       used 24720K, capacity 25137K, committed 25176K, reserved 25984K
}
Event: 8.655 GC heap after
{Heap after GC invocations=20 (full 3):
 def new generation   total 15552K, used 0K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,   0% used [0x04a00000, 0x04a00000, 0x05780000)
  from space 1728K,   0% used [0x05780000, 0x05780000, 0x05930000)
  to   space 1728K,   0% used [0x05930000, 0x05930000, 0x05ae0000)
 tenured generation   total 34512K, used 20705K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  59% used [0x09f50000, 0x0b3887c8, 0x0b388800, 0x0c104000)
 Metaspace       used 24720K, capacity 25137K, committed 25176K, reserved 25984K
}
Event: 9.361 GC heap before
{Heap before GC invocations=20 (full 3):
 def new generation   total 15552K, used 13824K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K, 100% used [0x04a00000, 0x05780000, 0x05780000)
  from space 1728K,   0% used [0x05780000, 0x05780000, 0x05930000)
  to   space 1728K,   0% used [0x05930000, 0x05930000, 0x05ae0000)
 tenured generation   total 34512K, used 20705K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  59% used [0x09f50000, 0x0b3887c8, 0x0b388800, 0x0c104000)
 Metaspace       used 29068K, capacity 29572K, committed 29656K, reserved 30080K
}
Event: 9.369 GC heap after
{Heap after GC invocations=21 (full 3):
 def new generation   total 15552K, used 1727K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,   0% used [0x04a00000, 0x04a00000, 0x05780000)
  from space 1728K,  99% used [0x05930000, 0x05adfff8, 0x05ae0000)
  to   space 1728K,   0% used [0x05780000, 0x05780000, 0x05930000)
 tenured generation   total 34512K, used 20983K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  60% used [0x09f50000, 0x0b3cdd50, 0x0b3cde00, 0x0c104000)
 Metaspace       used 29068K, capacity 29572K, committed 29656K, reserved 30080K
}
Event: 9.980 GC heap before
{Heap before GC invocations=21 (full 3):
 def new generation   total 15552K, used 15551K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K, 100% used [0x04a00000, 0x05780000, 0x05780000)
  from space 1728K,  99% used [0x05930000, 0x05adfff8, 0x05ae0000)
  to   space 1728K,   0% used [0x05780000, 0x05780000, 0x05930000)
 tenured generation   total 34512K, used 20983K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  60% used [0x09f50000, 0x0b3cdd50, 0x0b3cde00, 0x0c104000)
 Metaspace       used 30288K, capacity 30804K, committed 30808K, reserved 31104K
}
Event: 9.997 GC heap after
{Heap after GC invocations=22 (full 3):
 def new generation   total 15552K, used 1728K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,   0% used [0x04a00000, 0x04a00000, 0x05780000)
  from space 1728K, 100% used [0x05780000, 0x05930000, 0x05930000)
  to   space 1728K,   0% used [0x05930000, 0x05930000, 0x05ae0000)
 tenured generation   total 34512K, used 23354K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  67% used [0x09f50000, 0x0b61eb38, 0x0b61ec00, 0x0c104000)
 Metaspace       used 30288K, capacity 30804K, committed 30808K, reserved 31104K
}
Event: 10.275 GC heap before
{Heap before GC invocations=22 (full 3):
 def new generation   total 15552K, used 15539K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,  99% used [0x04a00000, 0x0577cf88, 0x05780000)
  from space 1728K, 100% used [0x05780000, 0x05930000, 0x05930000)
  to   space 1728K,   0% used [0x05930000, 0x05930000, 0x05ae0000)
 tenured generation   total 34512K, used 23354K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  67% used [0x09f50000, 0x0b61eb38, 0x0b61ec00, 0x0c104000)
 Metaspace       used 31677K, capacity 32218K, committed 32344K, reserved 33152K
}
Event: 10.286 GC heap after
{Heap after GC invocations=23 (full 3):
 def new generation   total 15552K, used 1406K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,   0% used [0x04a00000, 0x04a00000, 0x05780000)
  from space 1728K,  81% used [0x05930000, 0x05a8fac8, 0x05ae0000)
  to   space 1728K,   0% used [0x05780000, 0x05780000, 0x05930000)
 tenured generation   total 34512K, used 25069K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  72% used [0x09f50000, 0x0b7cb660, 0x0b7cb800, 0x0c104000)
 Metaspace       used 31677K, capacity 32218K, committed 32344K, reserved 33152K
}
Event: 10.984 GC heap before
{Heap before GC invocations=23 (full 3):
 def new generation   total 15552K, used 15214K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,  99% used [0x04a00000, 0x0577bd70, 0x05780000)
  from space 1728K,  81% used [0x05930000, 0x05a8fac8, 0x05ae0000)
  to   space 1728K,   0% used [0x05780000, 0x05780000, 0x05930000)
 tenured generation   total 34512K, used 25069K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  72% used [0x09f50000, 0x0b7cb660, 0x0b7cb800, 0x0c104000)
 Metaspace       used 34920K, capacity 35461K, committed 35544K, reserved 36224K
}
Event: 10.994 GC heap after
{Heap after GC invocations=24 (full 3):
 def new generation   total 15552K, used 907K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,   0% used [0x04a00000, 0x04a00000, 0x05780000)
  from space 1728K,  52% used [0x05780000, 0x05862c38, 0x05930000)
  to   space 1728K,   0% used [0x05930000, 0x05930000, 0x05ae0000)
 tenured generation   total 34512K, used 26447K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  76% used [0x09f50000, 0x0b923fb0, 0x0b924000, 0x0c104000)
 Metaspace       used 34920K, capacity 35461K, committed 35544K, reserved 36224K
}
Event: 11.423 GC heap before
{Heap before GC invocations=24 (full 3):
 def new generation   total 15552K, used 14723K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,  99% used [0x04a00000, 0x0577e398, 0x05780000)
  from space 1728K,  52% used [0x05780000, 0x05862c38, 0x05930000)
  to   space 1728K,   0% used [0x05930000, 0x05930000, 0x05ae0000)
 tenured generation   total 34512K, used 26447K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  76% used [0x09f50000, 0x0b923fb0, 0x0b924000, 0x0c104000)
 Metaspace       used 37411K, capacity 37957K, committed 37976K, reserved 38272K
}
Event: 11.428 GC heap after
{Heap after GC invocations=25 (full 3):
 def new generation   total 15552K, used 672K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,   0% used [0x04a00000, 0x04a00000, 0x05780000)
  from space 1728K,  38% used [0x05930000, 0x059d8040, 0x05ae0000)
  to   space 1728K,   0% used [0x05780000, 0x05780000, 0x05930000)
 tenured generation   total 34512K, used 27343K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  79% used [0x09f50000, 0x0ba03f60, 0x0ba04000, 0x0c104000)
 Metaspace       used 37411K, capacity 37957K, committed 37976K, reserved 38272K
}
Event: 11.744 GC heap before
{Heap before GC invocations=25 (full 3):
 def new generation   total 15552K, used 14496K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K, 100% used [0x04a00000, 0x05780000, 0x05780000)
  from space 1728K,  38% used [0x05930000, 0x059d8040, 0x05ae0000)
  to   space 1728K,   0% used [0x05780000, 0x05780000, 0x05930000)
 tenured generation   total 34512K, used 27343K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  79% used [0x09f50000, 0x0ba03f60, 0x0ba04000, 0x0c104000)
 Metaspace       used 37868K, capacity 38405K, committed 38488K, reserved 39296K
}
Event: 11.749 GC heap after
{Heap after GC invocations=26 (full 3):
 def new generation   total 15552K, used 1021K [0x04a00000, 0x05ae0000, 0x09f50000)
  eden space 13824K,   0% used [0x04a00000, 0x04a00000, 0x05780000)
  from space 1728K,  59% used [0x05780000, 0x0587f748, 0x05930000)
  to   space 1728K,   0% used [0x05930000, 0x05930000, 0x05ae0000)
 tenured generation   total 34512K, used 27343K [0x09f50000, 0x0c104000, 0x14a00000)
   the space 34512K,  79% used [0x09f50000, 0x0ba03f60, 0x0ba04000, 0x0c104000)
 Metaspace       used 37868K, capacity 38405K, committed 38488K, reserved 39296K
}

Deoptimization events (6 events):
Event: 5.403 Thread 0x00e38800 DEOPT PACKING pc=0x02994fe9 sp=0x00cdf560
Event: 5.403 Thread 0x00e38800 DEOPT UNPACKING pc=0x0285c175 sp=0x00cdf434 mode 3
Event: 5.676 Thread 0x00e38800 DEOPT PACKING pc=0x029b4259 sp=0x00cde620
Event: 5.676 Thread 0x00e38800 DEOPT UNPACKING pc=0x0285c175 sp=0x00cde540 mode 3
Event: 8.811 Thread 0x00e38800 DEOPT PACKING pc=0x02ade80c sp=0x00cde540
Event: 8.811 Thread 0x00e38800 DEOPT UNPACKING pc=0x0285c175 sp=0x00cde4ac mode 0

Classes redefined (0 events):
No events

Internal exceptions (20 events):
Event: 9.325 Thread 0x00e38800 Exception <a 'java/lang/ClassNotFoundException'{0x05757de8}: com/sun/swing/internal/plaf/metal/resources/spi/metalProvider> (0x05757de8) thrown at [./src/hotspot/share/classfile/systemDictionary.cpp, line 233]
Event: 9.327 Thread 0x00e38800 Exception <a 'java/lang/ClassNotFoundException'{0x0575d950}: com/sun/swing/internal/plaf/basic/resources/spi/basicProvider> (0x0575d950) thrown at [./src/hotspot/share/classfile/systemDictionary.cpp, line 233]
Event: 9.594 Thread 0x00e38800 Exception <a 'java/lang/NoSuchMethodError'{0x050a9428}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeSpecial(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)'> (0x050a9428) thrown at [./src/hotspot/share/interpreter/linkResolver.cpp, line 773]
Event: 9.770 Thread 0x00e38800 Exception <a 'java/lang/NoSuchMethodError'{0x050b5640}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, long)'> (0x050b5640) thrown at [./src/hotspot/share/interpreter/linkResolver.cpp, line 773]
Event: 9.770 Thread 0x00e38800 Exception <a 'java/lang/NoSuchMethodError'{0x050b9ef0}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, long)'> (0x050b9ef0) thrown at [./src/hotspot/share/interpreter/linkResolver.cpp, line 773]
Event: 9.772 Thread 0x00e38800 Exception <a 'java/lang/NoSuchMethodError'{0x050c2168}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStaticInit(java.lang.Object, java.lang.Object, long, java.lang.Object)'> (0x050c2168) thrown at [./src/hotspot/share/interpreter/linkResolver.cpp, line 773]
Event: 9.772 Thread 0x00e38800 Exception <a 'java/lang/NoSuchMethodError'{0x050c7808}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, long)'> (0x050c7808) thrown at [./src/hotspot/share/interpreter/linkResolver.cpp, line 773]
Event: 9.772 Thread 0x00e38800 Exception <a 'java/lang/NoSuchMethodError'{0x050cd350}: 'java.lang.Object java.lang.invoke.Invokers$Holder.linkToTargetMethod(java.lang.Object, long, java.lang.Object)'> (0x050cd350) thrown at [./src/hotspot/share/interpreter/linkResolver.cpp, line 773]
Event: 11.261 Thread 0x16a77800 Exception <a 'java/lang/ClassCastException'{0x053362b0}: class java.util.AbstractMap$SimpleImmutableEntry cannot be cast to class java.util.Map (java.util.AbstractMap$SimpleImmutableEntry and java.util.Map are in module java.base of loader 'bootstrap')> (0x053362b0) thrown at [./src/hotspot/share/interpreter/interpreterRuntime.cpp, line 459]
Event: 11.349 Thread 0x1826b400 Exception <a 'java/lang/ClassCastException'{0x0550f368}: class java.util.AbstractMap$SimpleImmutableEntry cannot be cast to class java.util.Map (java.util.AbstractMap$SimpleImmutableEntry and java.util.Map are in module java.base of loader 'bootstrap')> (0x0550f368) thrown at [./src/hotspot/share/interpreter/interpreterRuntime.cpp, line 459]
Event: 11.356 Thread 0x16a77800 Exception <a 'java/lang/ClassCastException'{0x0554cd08}: class java.util.AbstractMap$SimpleImmutableEntry cannot be cast to class java.util.Map (java.util.AbstractMap$SimpleImmutableEntry and java.util.Map are in module java.base of loader 'bootstrap')> (0x0554cd08) thrown at [./src/hotspot/share/interpreter/interpreterRuntime.cpp, line 459]
Event: 11.356 Thread 0x1826b400 Exception <a 'java/lang/ClassCastException'{0x055310a8}: class java.util.AbstractMap$SimpleImmutableEntry cannot be cast to class java.util.Map (java.util.AbstractMap$SimpleImmutableEntry and java.util.Map are in module java.base of loader 'bootstrap')> (0x055310a8) thrown at [./src/hotspot/share/interpreter/interpreterRuntime.cpp, line 459]
Event: 11.411 Thread 0x1826b400 Exception <a 'java/lang/ClassCastException'{0x057112d8}: class java.util.AbstractMap$SimpleImmutableEntry cannot be cast to class java.util.Map (java.util.AbstractMap$SimpleImmutableEntry and java.util.Map are in module java.base of loader 'bootstrap')> (0x057112d8) thrown at [./src/hotspot/share/interpreter/interpreterRuntime.cpp, line 459]
Event: 11.520 Thread 0x16a77800 Exception <a 'java/lang/ClassCastException'{0x04ce7520}: class java.util.AbstractMap$SimpleImmutableEntry cannot be cast to class java.util.Map (java.util.AbstractMap$SimpleImmutableEntry and java.util.Map are in module java.base of loader 'bootstrap')> (0x04ce7520) thrown at [./src/hotspot/share/interpreter/interpreterRuntime.cpp, line 459]
Event: 11.520 Thread 0x1826b400 Exception <a 'java/lang/ClassCastException'{0x04cbd390}: class java.util.AbstractMap$SimpleImmutableEntry cannot be cast to class java.util.Map (java.util.AbstractMap$SimpleImmutableEntry and java.util.Map are in module java.base of loader 'bootstrap')> (0x04cbd390) thrown at [./src/hotspot/share/interpreter/interpreterRuntime.cpp, line 459]
Event: 11.522 Thread 0x1826b400 Exception <a 'java/lang/ClassCastException'{0x04ceefb0}: class java.util.AbstractMap$SimpleImmutableEntry cannot be cast to class java.util.Map (java.util.AbstractMap$SimpleImmutableEntry and java.util.Map are in module java.base of loader 'bootstrap')> (0x04ceefb0) thrown at [./src/hotspot/share/interpreter/interpreterRuntime.cpp, line 459]
Event: 11.522 Thread 0x16a77800 Exception <a 'java/lang/ClassCastException'{0x04ceb578}: class java.util.AbstractMap$SimpleImmutableEntry cannot be cast to class java.util.Map (java.util.AbstractMap$SimpleImmutableEntry and java.util.Map are in module java.base of loader 'bootstrap')> (0x04ceb578) thrown at [./src/hotspot/share/interpreter/interpreterRuntime.cpp, line 459]
Event: 11.524 Thread 0x1826b400 Exception <a 'java/lang/ClassCastException'{0x04cf2f50}: class java.util.AbstractMap$SimpleImmutableEntry cannot be cast to class java.util.Map (java.util.AbstractMap$SimpleImmutableEntry and java.util.Map are in module java.base of loader 'bootstrap')> (0x04cf2f50) thrown at [./src/hotspot/share/interpreter/interpreterRuntime.cpp, line 459]
Event: 11.829 Thread 0x169d6400 Exception <a 'java/lang/NoSuchMethodError'{0x053b6390}: 'void io.ktor.client.HttpClientConfig.install(io.ktor.client.features.HttpClientFeature, kotlin.jvm.functions.Function1)'> (0x053b6390) thrown at [./src/hotspot/share/interpreter/linkResolver.cpp, line 773]
Event: 11.829 Thread 0x169d6400 Exception <a 'java/lang/NoSuchMethodError'{0x053b6390}> (0x053b6390) thrown at [./src/hotspot/share/oops/instanceKlass.cpp, line 1033]

Events (20 events):
Event: 11.827 loading class io/ktor/client/features/UserAgent$Feature
Event: 11.827 loading class io/ktor/client/features/UserAgent$Feature done
Event: 11.827 loading class net/mamoe/mirai/console/terminal/ConsoleThreadKt$startupConsoleThread$3
Event: 11.827 loading class net/mamoe/mirai/console/terminal/ConsoleThreadKt$startupConsoleThread$3 done
Event: 11.827 loading class io/ktor/client/features/HttpClientFeature
Event: 11.827 loading class io/ktor/client/features/HttpClientFeature done
Event: 11.828 loading class net/mamoe/mirai/console/terminal/MiraiConsoleTerminalLoader$main$1
Event: 11.828 loading class net/mamoe/mirai/console/terminal/MiraiConsoleTerminalLoader$main$1 done
Event: 11.828 loading class net/mamoe/mirai/console/terminal/JLineInputDaemon$Request
Event: 11.828 loading class net/mamoe/mirai/console/terminal/JLineInputDaemon$Request done
Event: 11.828 loading class net/mamoe/mirai/console/terminal/JLineInputDaemon$sendRequest$2
Event: 11.828 loading class net/mamoe/mirai/console/terminal/JLineInputDaemon$sendRequest$2 done
Event: 11.828 loading class net/mamoe/mirai/console/terminal/MiraiConsoleTerminalLoader$main$1$1
Event: 11.828 loading class net/mamoe/mirai/console/terminal/MiraiConsoleTerminalLoader$main$1$1 done
Event: 11.829 loading class io/ktor/client/features/HttpClientFeature
Event: 11.829 loading class io/ktor/client/features/HttpClientFeature done
Event: 11.829 loading class org/itxtech/mirainative/bridge/MiraiBridge$client$1$1
Event: 11.829 loading class org/itxtech/mirainative/bridge/MiraiBridge$client$1$1 done
Event: 11.829 loading class kotlinx/coroutines/CancelledContinuation
Event: 11.829 loading class kotlinx/coroutines/CancelledContinuation done


Dynamic libraries:
0x00e00000 - 0x00e0c000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\java.exe
0x77370000 - 0x7750e000 	C:\Windows\SYSTEM32\ntdll.dll
0x74f10000 - 0x74ff0000 	C:\Windows\System32\KERNEL32.DLL
0x770a0000 - 0x772a1000 	C:\Windows\System32\KERNELBASE.dll
0x73650000 - 0x736ed000 	C:\Windows\SYSTEM32\apphelp.dll
0x76a20000 - 0x76b43000 	C:\Windows\System32\ucrtbase.dll
0x73630000 - 0x73643000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\VCRUNTIME140.dll
0x73610000 - 0x73624000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\jli.dll
0x765c0000 - 0x7675a000 	C:\Windows\System32\USER32.dll
0x764d0000 - 0x764e7000 	C:\Windows\System32\win32u.dll
0x75a80000 - 0x75aa4000 	C:\Windows\System32\GDI32.dll
0x731b0000 - 0x733bf000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.17763.3532_none_261defb767c7e1a3\COMCTL32.dll
0x75d70000 - 0x75edc000 	C:\Windows\System32\gdi32full.dll
0x764f0000 - 0x765b0000 	C:\Windows\System32\msvcrt.dll
0x75160000 - 0x751e0000 	C:\Windows\System32\msvcp_win.dll
0x76d50000 - 0x76fc2000 	C:\Windows\System32\combase.dll
0x75c40000 - 0x75cfd000 	C:\Windows\System32\RPCRT4.dll
0x749a0000 - 0x749c0000 	C:\Windows\System32\SspiCli.dll
0x74990000 - 0x7499a000 	C:\Windows\System32\CRYPTBASE.dll
0x75d00000 - 0x75d65000 	C:\Windows\System32\bcryptPrimitives.dll
0x75ac0000 - 0x75b39000 	C:\Windows\System32\sechost.dll
0x75920000 - 0x75945000 	C:\Windows\System32\IMM32.DLL
0x735a0000 - 0x7360f000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\msvcp140.dll
0x72980000 - 0x72e5a000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\client\jvm.dll
0x74ff0000 - 0x75070000 	C:\Windows\System32\ADVAPI32.dll
0x75970000 - 0x75976000 	C:\Windows\System32\PSAPI.DLL
0x73ad0000 - 0x73af4000 	C:\Windows\SYSTEM32\WINMM.dll
0x73590000 - 0x73598000 	C:\Windows\SYSTEM32\WSOCK32.dll
0x74e10000 - 0x74e6f000 	C:\Windows\System32\WS2_32.dll
0x74050000 - 0x74058000 	C:\Windows\SYSTEM32\VERSION.dll
0x73980000 - 0x739a3000 	C:\Windows\SYSTEM32\winmmbase.dll
0x74e70000 - 0x74eab000 	C:\Windows\System32\cfgmgr32.dll
0x75ab0000 - 0x75abf000 	C:\Windows\System32\kernel.appcore.dll
0x73580000 - 0x7358d000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\verify.dll
0x74130000 - 0x742bf000 	C:\Windows\SYSTEM32\DBGHELP.DLL
0x72f00000 - 0x72f24000 	C:\Windows\SYSTEM32\dbgcore.DLL
0x73530000 - 0x73552000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\java.dll
0x73570000 - 0x73579000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\jimage.dll
0x73510000 - 0x73524000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\zip.dll
0x75ee0000 - 0x76436000 	C:\Windows\System32\SHELL32.dll
0x750a0000 - 0x75129000 	C:\Windows\System32\shcore.dll
0x75320000 - 0x7591d000 	C:\Windows\System32\windows.storage.dll
0x75130000 - 0x7514c000 	C:\Windows\System32\profapi.dll
0x77300000 - 0x77354000 	C:\Windows\System32\powrprof.dll
0x772b0000 - 0x772f4000 	C:\Windows\System32\shlwapi.dll
0x75950000 - 0x75962000 	C:\Windows\System32\cryptsp.dll
0x734f0000 - 0x73504000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\net.dll
0x730e0000 - 0x731a6000 	C:\Windows\SYSTEM32\WINHTTP.dll
0x73810000 - 0x73862000 	C:\Windows\system32\mswsock.dll
0x734e0000 - 0x734ef000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\nio.dll
0x730d0000 - 0x730dd000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\instrument.dll
0x6df00000 - 0x6df20000 	C:\Users\\AppData\Local\Temp\jansi-2.4.0-767a60368ecb0104-jansi.dll
0x730a0000 - 0x730c4000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\sunec.dll
0x72780000 - 0x727af000 	C:\Windows\system32\rsaenh.dll
0x76fd0000 - 0x76fe9000 	C:\Windows\System32\bcrypt.dll
0x74010000 - 0x74035000 	C:\Windows\SYSTEM32\USERENV.dll
0x73fd0000 - 0x74003000 	C:\Windows\SYSTEM32\IPHLPAPI.DLL
0x765b0000 - 0x765b7000 	C:\Windows\System32\NSI.dll
0x73080000 - 0x73093000 	C:\Windows\SYSTEM32\dhcpcsvc6.DLL
0x736f0000 - 0x73704000 	C:\Windows\SYSTEM32\dhcpcsvc.DLL
0x74090000 - 0x74121000 	C:\Windows\SYSTEM32\DNSAPI.dll
0x73780000 - 0x73788000 	C:\Windows\System32\rasadhlp.dll
0x73720000 - 0x73771000 	C:\Windows\System32\fwpuclnt.dll
0x73070000 - 0x7307b000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\sunmscapi.dll
0x76860000 - 0x76a11000 	C:\Windows\System32\CRYPT32.dll
0x75070000 - 0x7507e000 	C:\Windows\System32\MSASN1.dll
0x73040000 - 0x73062000 	C:\Windows\SYSTEM32\ncrypt.dll
0x73010000 - 0x7303c000 	C:\Windows\SYSTEM32\NTASN1.dll
0x737f0000 - 0x73801000 	C:\Windows\system32\napinsp.dll
0x737d0000 - 0x737e6000 	C:\Windows\system32\pnrpnsp.dll
0x737c0000 - 0x737cb000 	C:\Windows\System32\winrnr.dll
0x737a0000 - 0x737b6000 	C:\Windows\system32\NLAapi.dll
0x73790000 - 0x737a0000 	C:\Windows\system32\wshbth.dll
0x73000000 - 0x73008000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\management.dll
0x72ff0000 - 0x72ff9000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\management_ext.dll
0x72830000 - 0x7297f000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\awt.dll
0x75b40000 - 0x75bd6000 	C:\Windows\System32\OLEAUT32.dll
0x72f70000 - 0x72feb000 	C:\Windows\system32\uxtheme.dll
0x751e0000 - 0x7531b000 	C:\Windows\System32\MSCTF.dll
0x72f40000 - 0x72f66000 	C:\Windows\system32\dwmapi.dll
0x76760000 - 0x7685c000 	C:\Windows\System32\ole32.dll
0x72ed0000 - 0x72ef5000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\javajpeg.dll
0x72650000 - 0x72729000 	C:\Windows\system32\opengl32.dll
0x727f0000 - 0x7282f000 	C:\Windows\SYSTEM32\GLU32.dll
0x724d0000 - 0x72641000 	C:\Windows\system32\d3d9.dll
0x71f20000 - 0x724cc000 	C:\Windows\SYSTEM32\d3d10warp.dll
0x71eb0000 - 0x71f20000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\freetype.dll
0x71e00000 - 0x71eaf000 	C:\Program Files (x86)\Zulu\zulu-11-jre\bin\fontmanager.dll
0x71d60000 - 0x71df8000 	C:\Windows\SYSTEM32\mscms.dll
0x72f30000 - 0x72f3c000 	C:\Windows\SYSTEM32\ColorAdapterClient.dll
0x727b0000 - 0x727ee000 	C:\Windows\SYSTEM32\icm32.dll
0x71d20000 - 0x71d60000 	C:\Users\\Desktop\mirailoader\mcl-2.1.1\data\org.itxtech.mirainative\CQP.dll
0x66000000 - 0x66154000 	C:\Users\\Desktop\mirailoader\mcl-2.1.1\data\org.itxtech.mirainative\libraries\libiconv.dll
0x61e00000 - 0x61ecd000 	C:\Users\\Desktop\mirailoader\mcl-2.1.1\data\org.itxtech.mirainative\libraries\sqlite3.dll
0x6fb00000 - 0x70595000 	C:\Users\\Desktop\mirailoader\mcl-2.1.1\data\org.itxtech.mirainative\plugins\list.dll

dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;C:\Program Files (x86)\Zulu\zulu-11-jre\bin;C:\Windows\SYSTEM32;C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.17763.3532_none_261defb767c7e1a3;C:\Program Files (x86)\Zulu\zulu-11-jre\bin\client;C:\Users\\AppData\Local\Temp;C:\Users\\Desktop\mirailoader\mcl-2.1.1\data\org.itxtech.mirainative;C:\Users\\Desktop\mirailoader\mcl-2.1.1\data\org.itxtech.mirainative\libraries;C:\Users\\Desktop\mirailoader\mcl-2.1.1\data\org.itxtech.mirainative\plugins

VM Arguments:
java_command: mcl.jar -u
java_class_path (initial): mcl.jar
Launcher Type: SUN_STANDARD

[Global flags]
   size_t InitialHeapSize                          = 16777216                                  {product} {ergonomic}
   size_t MaxHeapSize                              = 268435456                                 {product} {ergonomic}
   size_t MaxNewSize                               = 89456640                                  {product} {ergonomic}
   size_t MinHeapDeltaBytes                        = 131072                                    {product} {ergonomic}
   size_t NewSize                                  = 5570560                                   {product} {ergonomic}
    uintx NonProfiledCodeHeapSize                  = 0                                      {pd product} {ergonomic}
   size_t OldSize                                  = 11206656                                  {product} {ergonomic}
    uintx ProfiledCodeHeapSize                     = 0                                      {pd product} {ergonomic}
     bool ThreadLocalHandshakes                    = false                                  {pd product} {ergonomic}
     bool UseLargePagesIndividualAllocation        = false                                  {pd product} {ergonomic}
     bool UseSerialGC                              = true                                      {product} {ergonomic}

Logging:
Log output configuration:
 #0: stdout all=warning uptime,level,tags
 #1: stderr all=off uptime,level,tags

Environment Variables:
JAVA_HOME=C:\Program Files (x86)\Zulu\zulu-11-jre\
PATH=C:\Program Files (x86)\Zulu\zulu-11-jre\bin\;C:\Program Files (x86)\Zulu\zulu-11\bin\;C:\Python39\Scripts\;C:\Python39\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Program Files (x86)\ZeroTier\One\;C:\Program Files (x86)\Tailscale IPN;C:\Users\\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\\AppData\Local\Programs\Python\Python310\;C:\Users\\AppData\Local\Microsoft\WindowsApps;C:\Users\AppData\Roaming\npm;C:\Program Files\Bandizip\
USERNAME=
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 1, GenuineIntel
TMP=C:\Users\\AppData\Local\Temp
TEMP=C:\Users\\AppData\Local\Temp



---------------  S Y S T E M  ---------------

OS: Windows 10 , 64 bit Build 17763 (10.0.17763.3287)
OS uptime: 0 days 0:16 hours
KVM virtualization detected

CPU:total 2 (initial active 2) (1 cores per cpu, 1 threads per core) family 6 model 44 stepping 1 microcode 0x1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, aes, clmul, tsc

Memory: 4k page, system-wide physical 2047M (222M free)
TotalPageFile size 7047M (AvailPageFile size 4632M), user-mode portion of virtual address-space 2047M (734M free)
current process WorkingSet (physical memory assigned to process): 155M, peak: 155M
current process commit charge ("private bytes"): 149M, peak: 149M

vm_info: OpenJDK Client VM (11.0.17+8-LTS) for windows-x86 JRE (Zulu11.60+19-CA) (11.0.17+8-LTS), built on Oct  9 2022 06:14:34 by "zulu_re" with MS VC++ 15.9 (VS2017)

END.

运行环境

  • 操作系统:Windows 10 企业版 LTSC 1809 64位 虚拟机
  • mirai core 版本:v2.13.0
  • mirai console 版本:v2.13.0
  • mirai native 版本:v2.0.0
  • Java 运行时版本:OpenJDK Client VM (11.0.17+8-LTS) for windows-x86 JRE (Zulu11.60+19-CA) (11.0.17+8-LTS)

更多信息
抱歉重复 issue,但是另一个 issue 实在是惨不忍睹。

@InoryS InoryS added the bug Something isn't working label Nov 2, 2022
@dragon0629
Copy link

惨不忍睹的ISSUE关了
靠你了,已知 32位 JRE 不能解决问题 囧

@buger404
Copy link
Contributor

buger404 commented Nov 3, 2022

也遇到了同样的问题。
2.13.0修复了无法登陆的问题,因此急需使用这个版本,但Mirai Native尚不支持。

2022-11-03 13:04:33 E/MiraiNative: Exception in coroutine Plugin org.itxtech.mirainative of MiraiNative
java.lang.NoClassDefFoundError: Could not initialize class org.itxtech.mirainative.bridge.MiraiBridge
        at mirai-native-2.0.0.jar//org.itxtech.mirainative.Bridge.sendGroupMessage(Bridge.kt:172)
        at mirai-native-2.0.0.jar//org.itxtech.mirainative.Bridge.callIntMethod(Native Method)
        at mirai-native-2.0.0.jar//org.itxtech.mirainative.bridge.NativeBridge.startPlugin(NativeBridge.kt:272)
        at mirai-native-2.0.0.jar//org.itxtech.mirainative.manager.PluginManager.enablePlugin(PluginManager.kt:175)
        at mirai-native-2.0.0.jar//org.itxtech.mirainative.manager.PluginManager$enablePlugins$1.invokeSuspend(PluginManager.kt:200)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)

@cssxsh
Copy link
Contributor

cssxsh commented Nov 5, 2022

顺手编译修复了一下
mirai-native cssxsh 编译修复版.zip

@miraiuser9528
Copy link

顺手编译修复了一下 mirai-native cssxsh 编译修复版.zip

试了一下,会报这个,2.13RC 和2.13正式版均一样,

net.mamoe.mirai.console.internal.util.ServiceLoadException: Could not load service org.itxtech.mirainative.MiraiNative.

换回老版可运行,但加载dll和json时报错

2022-11-06 16:55:37 I/main: Welcome to visit https://mirai.mamoe.net/
2022-11-06 16:55:37 V/main: Loading JVM plugins...
2022-11-06 16:55:37 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2022-11-06 16:55:37 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
2022-11-06 16:55:37 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2022-11-06 16:55:37 D/JvmPluginLoader: Maven local: C:\Users\FLARE.m2\repository
2022-11-06 16:55:37 D/JvmPluginLoader: Gradle cache local: C:\Users\FLARE.gradle\caches\modules-2\files-2.1
2022-11-06 16:55:37 D/JvmPluginLoader: Remote server: [https://maven.aliyun.com/repository/public]
2022-11-06 16:55:37 V/JvmPluginLoader: Plugin shared libraries: D:\MIRAI_2.13.0-RC\plugin-shared-libraries
2022-11-06 16:55:37 D/JvmPluginLoader: Peek D:\MIRAI_2.13.0-RC\plugin-shared-libraries\libraries.txt in shared libraries
2022-11-06 16:55:37 D/JvmPluginLoader: Skipped D:\MIRAI_2.13.0-RC\plugin-shared-libraries\libraries.txt because extension != jar
2022-11-06 16:55:37 V/JvmPluginLoader: Linking static shared libraries....
2022-11-06 16:55:37 E/main: Failed to init MiraiConsole.
net.mamoe.mirai.console.internal.util.ServiceLoadException: Could not load service org.itxtech.mirainative.MiraiNative.
at net.mamoe.mirai.console.internal.util.PluginServiceHelper.loadService(PluginServiceHelper.kt:60)
at net.mamoe.mirai.console.internal.util.PluginServiceHelper.loadAllServices(PluginServiceHelper.kt:42)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl$extractPlugins$findAllInstances$2.invoke(BuiltInJvmPluginLoaderImpl.kt:171)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl$extractPlugins$findAllInstances$2.invoke(BuiltInJvmPluginLoaderImpl.kt:166)
at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210)
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:314)
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:787)
at kotlin.sequences.SequencesKt___SequencesKt.toSet(_Sequences.kt:828)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.extractPlugins(BuiltInJvmPluginLoaderImpl.kt:192)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.listPlugins(BuiltInJvmPluginLoaderImpl.kt:67)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.listPlugins(JvmPluginLoader.kt)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.listAndSortAllPlugins(PluginManagerImpl.kt:189)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.findAndSortAllPluginsUsingBuiltInLoaders(PluginManagerImpl.kt:135)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:145)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:279)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:508)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:177)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:176)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:54)
Caused by: java.lang.UnsupportedClassVersionError: org/itxtech/mirainative/MiraiNative has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.loadClass(JvmPluginClassLoader.kt:387)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at net.mamoe.mirai.console.internal.util.PluginServiceHelper.loadService(PluginServiceHelper.kt:51)
... 23 more

2022-11-06 16:55:37 D/main: SHUTDOWN DAEMON STARTED.........
2022-11-06 16:55:38 D/main: [exitProcessAndForceHalt] called with code 0
2022-11-06 16:55:38 D/main: [exitProcessAndForceHalt] isShutdowning = false
请按任意键继续. . .

@cssxsh
Copy link
Contributor

cssxsh commented Nov 6, 2022

version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

mirai-native 需要 java 11 以上的 java 版本

@miraiuser9528
Copy link

version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

mirai-native 需要 java 11 以上的 java 版本

正打字呢,所以需要去下java 11 以上的 32位 JRE嘛? 0 - 0

@cssxsh
Copy link
Contributor

cssxsh commented Nov 6, 2022

version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

mirai-native 需要 java 11 以上的 java 版本

正打字呢,所以需要去下java 11 以上的 32位 JRE嘛? 0 - 0

是的

@miraiuser9528
Copy link

version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

mirai-native 需要 java 11 以上的 java 版本

正打字呢,所以需要去下java 11 以上的 32位 JRE嘛? 0 - 0

是的

明白了,谢谢大佬
另外看了一下ISSUE,自己也试了一下,目前NATIVE还不支持JRE17以上版本……18+ 会整个乱码……
大佬能不能这个也顺手修复 一下OJZ,也不知道好不好修……

@buger404
Copy link
Contributor

buger404 commented Nov 6, 2022

顺手编译修复了一下 mirai-native cssxsh 编译修复版.zip

❤这个可以用,顺利运行了!

@zxin8580
Copy link
Contributor

顺手编译修复了一下 mirai-native cssxsh 编译修复版.zip

2.13.0可用,但升级2.13.1和2.13.2会再次出现此问题,原因不明…

@khris12138
Copy link

感谢!可以用了,不过先要在console里面先remove一下原本的插件

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

Successfully merging a pull request may close this issue.

7 participants