MM brokes after server restart
Summary
MM brokes after server restart. You need to delete old jar in plugins folder and paste 'unused' jar. And all is fine until next restart
Paper version git-Paper-276 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 1707c10)
Steps to reproduce
Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.
Current behavior
Describe what happens currently, while the bug is affecting your server.
Intended correct behavior
Describe what you think should happen instead of the bug.
Server log file
[02:10:15] [Server thread/INFO]: [MythicMobs] Enabling MythicMobs v4.13.1-3de5637b
[02:10:15] [Server thread/ERROR]: Error occurred while enabling MythicMobs v4.13.1-3de5637b (Is it up to date?)
java.lang.VerifyError: Bad return type
Exception Details:
Location:
javassist/f.b(Ljava/lang/String;Z)Ljavassist/CtClass; @67: areturn
Reason:
Type 'javassist/l' (current frame, stack[0]) is not assignable to 'javassist/CtClass' (from method signature)
Current Frame:
bci: @67
flags: { }
locals: { 'javassist/f', 'java/lang/String' }
stack: { 'javassist/l' }
Bytecode:
0000000: 2b03 b600 9510 5ba0 0008 2bb8 00a1 4c2b
0000010: 12a3 b600 a799 002f 2b03 2b10 5bb6 00ab
0000020: b600 af4e 1c99 000b 2a2d b600 87c7 000d
0000030: 2a2d b600 b2c7 0005 01b0 bb00 b459 2b2a
0000040: b700 b7b0 2a2b b600 b2c7 0005 01b0 bb00
0000050: 8059 2b2a b700 b8b0
Stackmap Table:
same_frame(@15)
full_frame(@48,{Object[#2],Object[#126],Top,Object[#126]},{})
chop_frame(@58,2)
same_frame(@68)
same_frame(@78)
at io.lumine.xikage.mythicmobs.utils.plugin.LuminePluginL10.a(Unknown Source) ~[MythicMobs-4.13.1.jar:?]
at io.lumine.xikage.mythicmobs.utils.plugin.LuminePlugin.onEnable(LuminePlugin.java) ~[MythicMobs-4.13.1.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.17.1.jar:git-Paper-276]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.1.jar:git-Paper-276]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Paper-276]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:535) ~[patched_1.17.1.jar:git-Paper-276]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:449) ~[patched_1.17.1.jar:git-Paper-276]
at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:725) ~[patched_1.17.1.jar:git-Paper-276]
at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:306) ~[patched_1.17.1.jar:git-Paper-276]
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1212) ~[patched_1.17.1.jar:git-Paper-276]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-276]
at java.lang.Thread.run(Thread.java:831) [?:?]
[02:10:15] [Server thread/INFO]: [MythicMobs] Disabling MythicMobs v4.13.1-3de5637b
[02:10:15] [Server thread/INFO]: [MythicMobs] Disabling Mythic Mobs...[0m
[02:10:15] [Server thread/WARN]: java.lang.NullPointerException: Cannot invoke "io.lumine.xikage.mythicmobs.spawning.spawners.SpawnerManager.resetAndSaveAll()" because the return value of "io.lumine.xikage.mythicmobs.MythicMobs.getSpawnerManager()" is null
[02:10:15] [Server thread/WARN]: at MythicMobs-4.13.1.jar//io.lumine.xikage.mythicmobs.MythicMobs.disable(MythicMobs.java:214)
[02:10:15] [Server thread/WARN]: at MythicMobs-4.13.1.jar//io.lumine.xikage.mythicmobs.utils.plugin.LuminePlugin.onDisable(LuminePlugin.java:78)
[02:10:15] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266)
[02:10:15] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:405)
[02:10:15] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:533)
[02:10:15] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
[02:10:15] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500)
[02:10:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:535)
[02:10:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:449)
[02:10:15] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:725)
[02:10:15] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:306)
[02:10:15] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1212)
[02:10:15] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[02:10:15] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:831)
Debug log snippet
Provide a link to a Pastebin paste with an excerpt of your latest.log file that includes debug output where you trigger the bugged behavior.
Proposed fixes
Describe what you think the issue or any potential fixes may be.