Question Plugin stopped working on paper 1.20.6 yet still works on spigot 1.20.6

TMCThomas

New member
May 29, 2024
2
0
1
Hello everyone!

I'm still using a rather old plugin that hasn't had a proper update since 2021. The plugin(s) in question are factions3 and massivecore which can be found here: https://www.spigotmc.org/resources/factions3-for-1-13.63602/

The plugin still worked fine so far including version 1.20.4, unfortunatly it has stopped working on paper 1.20.5/1.20.6 throwing an error on startup. Now the odd thing is that it does still work fine on spigot 1.20.6, no errors on startup, it initilizes just fine.

Does anyone have a clue to what's going on here, is it a paper bug, did paper change something that spigot didn't or is something else going on? Would love to keep using both paper and this plugin so any help would greatly be appreciated! I've got the log fragments of the plugin initialization below.

[MassiveCore] Loading server plugin MassiveCore v3.3.3
[16:00:00] [Server thread/ERROR]: [MassiveCore] Error initializing plugin 'MassiveCore.jar' in folder 'plugins\.paper-remapped' (Is it up to date?)
java.lang.ExceptionInInitializerError: null
at MassiveCore.jar/com.massivecraft.massivecore.MassiveCore.onLoadInner(MassiveCore.java:222) ~[MassiveCore.jar:?]
at MassiveCore.jar/com.massivecraft.massivecore.MassivePlugin.onLoad(MassivePlugin.java:56) ~[MassiveCore.jar:?]
at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:59) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:18) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:510) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:286) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]
Caused by: java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 22
at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55) ~[?:?]
at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52) ~[?:?]
at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213) ~[?:?]
at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210) ~[?:?]
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98) ~[?:?]
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112) ~[?:?]
at java.base/jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349) ~[?:?]
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4914) ~[?:?]
at java.base/java.lang.String.substring(String.java:2876) ~[?:?]
at java.base/java.lang.String.substring(String.java:2849) ~[?:?]
at MassiveCore.jar/com.massivecraft.massivecore.util.ReflectionUtil.<clinit>(ReflectionUtil.java:512) ~[MassiveCore.jar:?]
... 11 more


[16:00:00] [Server thread/INFO]: [MassiveCore] Enabling MassiveCore v3.3.3
[16:00:00] [Server thread/ERROR]: Error occurred while enabling MassiveCore v3.3.3 (Is it up to date?)
java.lang.NoClassDefFoundError: Could not initialize class com.massivecraft.massivecore.util.ReflectionUtil
at MassiveCore.jar/com.massivecraft.massivecore.mixin.Mixin.<init>(Mixin.java:24) ~[MassiveCore.jar:?]
at MassiveCore.jar/com.massivecraft.massivecore.mixin.MixinMessage.<init>(MixinMessage.java:14) ~[MassiveCore.jar:?]
at MassiveCore.jar/com.massivecraft.massivecore.mixin.MixinMessage.<clinit>(MixinMessage.java:20) ~[MassiveCore.jar:?]
at MassiveCore.jar/com.massivecraft.massivecore.MassivePlugin.log(MassivePlugin.java:449) ~[MassiveCore.jar:?]
at MassiveCore.jar/com.massivecraft.massivecore.MassivePlugin.log(MassivePlugin.java:441) ~[MassiveCore.jar:?]
at MassiveCore.jar/com.massivecraft.massivecore.MassivePlugin.onEnablePre(MassivePlugin.java:95) ~[MassiveCore.jar:?]
at MassiveCore.jar/com.massivecraft.massivecore.MassivePlugin.onEnable(MassivePlugin.java:83) ~[MassiveCore.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:519) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:604) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:553) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:287) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 22 [in thread "Server thread"]
at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55) ~[?:?]
at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52) ~[?:?]
at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213) ~[?:?]
at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210) ~[?:?]
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98) ~[?:?]
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112) ~[?:?]
at java.base/jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349) ~[?:?]
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4914) ~[?:?]
at java.base/java.lang.String.substring(String.java:2876) ~[?:?]
at java.base/java.lang.String.substring(String.java:2849) ~[?:?]
at MassiveCore.jar/com.massivecraft.massivecore.util.ReflectionUtil.<clinit>(ReflectionUtil.java:512) ~[MassiveCore.jar:?]
at MassiveCore.jar/com.massivecraft.massivecore.MassiveCore.onLoadInner(MassiveCore.java:222) ~[MassiveCore.jar:?]
at MassiveCore.jar/com.massivecraft.massivecore.MassivePlugin.onLoad(MassivePlugin.java:56) ~[MassiveCore.jar:?]
at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:59) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:18) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:510) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:286) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
... 3 more
 
Logs
https://paste.gg/p/anonymous/d5d5b34d4c7e46ccb453c8b79e786836
Version Output
This server is running Paper version 1.20.6-115-master@9d6f2cc (2024-05-28T14:55:16Z) (Implementing API version 1.20.6-R0.1-SNAPSHOT)

electronicboy

Administrator
Staff member
Dec 11, 2021
268
17
49
28

The plugin will need updating to deal with server internals changing as we move forward away from spigot
 

TMCThomas

New member
May 29, 2024
2
0
1

The plugin will need updating to deal with server internals changing as we move forward away from spigot
Ah ok thanks for the answer! There doesn't happen to be a simple fix that I could perform myself is there? I don't think the plugin will get an update anytime soon unfortunately.