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

Error message in console for GriefDefender #104

Open
mellowism opened this issue Jan 12, 2025 · 2 comments
Open

Error message in console for GriefDefender #104

mellowism opened this issue Jan 12, 2025 · 2 comments

Comments

@mellowism
Copy link

mellowism commented Jan 12, 2025

Hi, I updated to the latest Furniturelib and protectionlib (3.2.6 and 1.8.5) and get this message in console:

[ProtectionLib]: ProtectionClass: fGriefdefenderAPI throw an Exception!
WARN21:31:39
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
	at ProtectionLib-1.8.5.jar//de.Ste3et_C0st.ProtectionLib.main.ProtectionLib.lambda$hookIntoPlugins$4(ProtectionLib.java:99)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1858)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at ProtectionLib-1.8.5.jar//de.Ste3et_C0st.ProtectionLib.main.ProtectionLib.hookIntoPlugins(ProtectionLib.java:94)
	at ProtectionLib-1.8.5.jar//de.Ste3et_C0st.ProtectionLib.main.ProtectionLib.addWatchers(ProtectionLib.java:86)
	at ProtectionLib-1.8.5.jar//de.Ste3et_C0st.ProtectionLib.main.ProtectionLib.onLoad(ProtectionLib.java:78)
	at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:59)
	at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:18)
	at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39)
	at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:39)
	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:562)
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:277)
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1163)
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.IllegalStateException: GriefDefender has not been initialized!
	at griefdefender-bukkit-3.0.3.jar//com.griefdefender.api.GriefDefender.check(GriefDefender.java:49)
	at griefdefender-bukkit-3.0.3.jar//com.griefdefender.api.GriefDefender.getEventManager(GriefDefender.java:69)
	at ProtectionLib-1.8.5.jar//de.Ste3et_C0st.ProtectionLib.main.plugins.fGriefdefenderAPI$RemoveClaimEventListener.<init>(fGriefdefenderAPI.java:64)
	at ProtectionLib-1.8.5.jar//de.Ste3et_C0st.ProtectionLib.main.plugins.fGriefdefenderAPI.<init>(fGriefdefenderAPI.java:28)
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
	... 24 more

I have the latest Griefdefender and GDhooks as well as running paper 1.21.4.

@Ste3et
Copy link
Owner

Ste3et commented Jan 13, 2025

god jesus i updated the code a couple of weeks ago and now it is incompatible again, i try my best to fix it asap

Edit:
Make sure to use the newest ProtectionLib Plugin for Spigot looks similliar to the old error

@mellowism
Copy link
Author

Make sure to use the newest ProtectionLib Plugin for Spigot looks similliar to the old error

This is with ProtectionLib 1.8.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants