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

[Bug Report] NoClassDefFoundError While Enabling skript-gui v1.3 on Skript 2.10.0-pre1 #185

Open
AkotoWeed opened this issue Jan 11, 2025 · 8 comments
Labels
bug Something isn't working completed Bug fix / enhancement will be available in the next release

Comments

@AkotoWeed
Copy link

Description

The plugin skript-gui v1.3 fails to enable, causing a NoClassDefFoundError due to a missing class (ch.njol.skript.classes.Converter).

Steps to Reproduce

  1. Start the server with skript-gui v1.3 and Skript installed.
  2. Observe the server console during startup.

Expected Behavior

The plugin should enable without errors and function correctly alongside Skript.

Errors / Screenshots

[10:50:29] [Server thread/INFO]: [skript-gui] Enabling skript-gui v1.3
[10:50:29] [Server thread/INFO]: [Skript]     Missing version in default.lang
[10:50:29] [Server thread/ERROR]: Error occurred while enabling skript-gui v1.3 (Is it up to date?)
java.lang.NoClassDefFoundError: ch/njol/skript/classes/Converter
	at skript-gui.jar/io.github.apickledwalrus.skriptgui.SkriptConverters.<init>(SkriptConverters.java:11) ~[skript-gui.jar:?]
	at skript-gui.jar/io.github.apickledwalrus.skriptgui.SkriptGUI.onEnable(SkriptGUI.java:42) ~[skript-gui.jar:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.21.4.jar:1.21.4-85-6316a50]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.4.jar:1.21.4-85-6316a50]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:655) ~[paper-1.21.4.jar:1.21.4-85-6316a50]
	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:604) ~[paper-1.21.4.jar:1.21.4-85-6316a50]
	at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:743) ~[paper-1.21.4.jar:1.21.4-85-6316a50]
	at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:488) ~[paper-1.21.4.jar:1.21.4-85-6316a50]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:322) ~[paper-1.21.4.jar:1.21.4-85-6316a50]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1163) ~[paper-1.21.4.jar:1.21.4-85-6316a50]
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.4.jar:1.21.4-85-6316a50]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.ClassNotFoundException: ch.njol.skript.classes.Converter
	at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:197) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
	... 14 more
[10:50:29] [Server thread/INFO]: [skript-gui] Disabling skript-gui v1.3

Server Information

  • Server version/platform: Paper 1.21.4
  • skript-gui version: 1.3
  • Skript version: 2.10.0-pre1
@AkotoWeed AkotoWeed added the bug Something isn't working label Jan 11, 2025
@APickledWalrus
Copy link
Owner

Thanks for the report. I was aware of the issue and plan to have an updated release out before 2.10's full release.

@APickledWalrus
Copy link
Owner

Just to provide an update, I believe the addon should be compatible with 2.10 (due to some compatibility features implemented). It does currently give a warning on load. I will be working to publish a properly compatible release soon.

@APickledWalrus APickledWalrus added the completed Bug fix / enhancement will be available in the next release label Jan 17, 2025
@APickledWalrus
Copy link
Owner

Resolved in e5d8667 for the next release

@Henriiig
Copy link

Any ETA on next release?

@APickledWalrus
Copy link
Owner

I'm hoping to get it out very soon. 1.3 should load/work on 2.10 for the time brining

@Henriiig
Copy link

Henriiig commented Feb 15, 2025

Any news regarding the update? I saw a guy created a fork which should work completely (no console errors with) 2.10, im considering using it until.

@APickledWalrus
Copy link
Owner

Any news regarding the update? I saw a guy created a fork which should work completely (no console errors with) 2.10, im considering using it until.

Sorry, I have been super busy in my personal life recently. I will have a lot of time during the first week of March, so I would expect it then. I believe the current version should work with the 2.10 compatibility measures (though the startup warning will be printed), but that fork may also work in the meantime.

@Henriiig
Copy link

The current version works just fine so no problem, was just looking forward for a version with the anvil gui text input enhancement. :o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working completed Bug fix / enhancement will be available in the next release
Projects
None yet
Development

No branches or pull requests

3 participants