Skip to content

[Bug] java.lang.VerifyError: Bad type on operand stack | Incompatibly with NetherAPI #4

@DeliciousBread481

Description

@DeliciousBread481

Your CleanroomMC Discord Username

No response

CatRoom Version

0.2.3-alpha

Java Version

Java 21

Graphics Card Vendor

Other (Please Specify)

Bug Report

latest.log

MinecraftServer_classandjar.zip

[java.lang.Throwable:printStackTrace:660]: Caused by: java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
net/minecraft/server/MinecraftServer.func_71222_d()V @229: invokestatic
Reason:
Type 'net/minecraft/world/WorldServer' (current frame, stack[3]) is not assignable to integer
Current Frame:
bci: @229
flags: { }
locals: { 'net/minecraft/server/MinecraftServer', integer, integer, integer, integer, integer, integer, 'net/minecraft/world/WorldServer', 'net/minecraft/util/math/BlockPos', long, long_2nd, 'java/util/Iterator', 'net/minecraft/world/WorldServer' }
stack: { 'org/bukkit/plugin/PluginManager', uninitialized 222, uninitialized 222, 'net/minecraft/world/WorldServer', null }
Bytecode:
0000000: 1010 3c07 3d11 00c0 3e11 0271 3604 0336
0000010: 052a 1302 d7b6 0189 0336 06b2 017d b802
0000020: ddb9 0184 0200 1506 01b8 02e1 b802 e43a
0000030: 0719 07b6 02e8 3a08 b800 cf37 0911 ff40
0000040: 360b 150b 1100 c0a3 006f 2ab6 02eb 9900
0000050: 6811 ff40 360c 150c 1100 c0a3 0055 2ab6
0000060: 02eb 9900 4eb8 00cf 370d 160d 1609 6514
0000070: 02ec 949e 0017 2a13 02ef 1505 1064 6811
0000080: 0271 6cb6 02f3 160d 3709 8405 0119 07b6
0000090: 02f7 1908 b602 fc15 0b60 077a 1908 b602
00000a0: ff15 0c60 077a b603 0557 840c 10a7 ffa9
00000b0: 840b 10a7 ff8f 2ab4 010a b903 0901 003a
00000c0: 0b19 0bb9 030e 0100 9900 2e19 0bb9 0312
00000d0: 0100 c000 ed3a 0c2a b401 cab6 025f bb03
00000e0: 1459 190c 01b8 02e1 b602 65b7 0315 b902
00000f0: 6e02 00a7 ffce 2ab6 0318 b1
Stackmap Table:
full_frame(@66,{Object[#2],Integer,Integer,Integer,Integer,Integer,Integer,Object[CleanroomMC#237],Object[#761],Long,Integer},{})
append_frame(@86,Integer)
append_frame(@138,Long)
chop_frame(@176,1)
chop_frame(@182,1)
full_frame(@193,{Object[#2],Integer,Integer,Integer,Integer,Integer,Integer,Object[CleanroomMC#237],Object[#761],Long,Object[#779]},{})
same_frame(@246)

then I check the MinecraftServer.class from mixin.out,and search the getStartingRegionString on github,found the func_71222_d() was modified by NetherAPI ASM.So I tried disabled the NetherAPI,then the error was disappeared
Anyway,I think this issue is about Incompatibility between CatRoom-ExtendedLife and NetherAPI.Hope you can fix it.
btw,my server jar was downloaded from https://github.com/VoidSutdio/CatRoom-ExtendedLife/actions/runs/17920833380

Mod List

latest.log

Final Checklist

  • I have searched the issues and haven't found a similar issue.
  • I have read the readme and know that what is action build.
  • I have installed Fugue and it didn't fix my issue.
  • I have installed Scalar Legacy and it didn't fix my issue.
  • I have switched my Forgelin and LibrarianLib to continuous versions(check readme for more detail).
  • I am running a test build from Cleanroom Github Actions. (Or, if I've compiled it myself I plan to fix the issue)
  • I did not use PCL/PCLCE or other unsupported launchers.
    我没有使用 PCL/PCLCE 等其他未被支持的启动器。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions