Skip to content

Exception when starting paper server version 1.21.11-38-main@4446f17 #8

@Mczubi

Description

@Mczubi

I've seen that the newest version is not yet supported still i tried it out.
Starting the server, with the AxGraves plugin v1.24.0 installed, i ran into an exception.
I inspected the error message which then brought me to this repository as it supplies the code segment which i think is causing the issue.

I think the issue could be caused by the SharedConstant being renamed or replaced by another field, but i'm no expert with java nor minecraft plugin makeing

Errorlog

[20:09:13 INFO]: [AxGraves] Enabling AxGraves v1.24.0
[20:09:13 ERROR]: [com.artillexstudios.axgraves.libs.axapi.reflection.FastMethodInvoker] An unexpected error occurred while creating new FastMethodInvoker for class net.minecraft.SharedConstants, method c!
java.lang.NoSuchMethodException: net.minecraft.SharedConstants.c()
at java.base/java.lang.Class.getDeclaredMethod(Class.java:2850) ~[?:?]
at io.papermc.reflectionrewriter.runtime.AbstractDefaultRulesReflectionProxy.getDeclaredMethod(AbstractDefaultRulesReflectionProxy.java:95) ~[reflection-rewriter-runtime-0.0.3.jar:?]
at io.papermc.paper.pluginremap.reflect.PaperReflectionHolder.getDeclaredMethod(Unknown Source) ~[paper-1.21.11.jar:1.21.11-38-4446f17]
at AxGraves-1.24.0.jar//com.artillexstudios.axgraves.libs.axapi.reflection.FastMethodInvoker.create(FastMethodInvoker.java:24) ~[?:?]
at AxGraves-1.24.0.jar//com.artillexstudios.axgraves.libs.axapi.utils.Version.(Version.java:41) ~[?:?]
at AxGraves-1.24.0.jar//com.artillexstudios.axgraves.libs.axapi.nms.NMSHandlers.init(NMSHandlers.java:12) ~[?:?]
at AxGraves-1.24.0.jar//com.artillexstudios.axgraves.libs.axapi.nms.NMSHandlers$British.initialise(NMSHandlers.java:40) ~[?:?]
at AxGraves-1.24.0.jar//com.artillexstudios.axgraves.libs.axapi.AxPlugin.onEnable(AxPlugin.java:68) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:279) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.21.11.jar:1.21.11-38-4446f17]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.11.jar:1.21.11-38-4446f17]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.21.11.jar:1.21.11-38-4446f17]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:596) ~[paper-1.21.11.jar:1.21.11-38-4446f17]
at net.minecraft.server.MinecraftServer.initPostWorld(MinecraftServer.java:636) ~[paper-1.21.11.jar:1.21.11-38-4446f17]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:365) ~[paper-1.21.11.jar:1.21.11-38-4446f17]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1260) ~[paper-1.21.11.jar:1.21.11-38-4446f17]
at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:388) ~[paper-1.21.11.jar:1.21.11-38-4446f17]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

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