-
Notifications
You must be signed in to change notification settings - Fork 37
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
Plugin images throws UnsupportedOperationException on Paper 1.20.6 (v1_20_R5) #118
Comments
can you try out this version? https://www.file-upload.net/en/download-15438425/images-2.5.3-Fix.jar.html and might update Protocollib here you see after 1_20_4 it starts with 1_21_1 |
Hi Cloude, thanks for your quick response. We have no a new problem with protocollib - can´t join the server now: https://paste.gg/p/anonymous/198aae9b8fef4ce6a58014426be1b46d is protocollib really important for the images plugin? |
i asume no. you could try it without. might be just because all our server using protoollib. i took a look in the plugin.yml looks like its just a softdependency so optional |
Now it works fine without protocollib - thanks for your help. Have a nice Day :) |
✌️ |
Well i forgot (misslooked) that your using 1.20.6 not a 1.21.x version. So if you want to use protocollib one day use this one https://github.com/dmulloy2/ProtocolLib/releases/tag/5.3.0 The other Link was only for 1.21.x+ |
tryed but there is a server/clientbound.... check my note if you interrested :) |
Hello,
I'm encountering an issue with the plugin images (version 2.5.3) on my Paper 1.20.6 server. Despite the Spigot page mentioning compatibility with Minecraft 1.20.6, the plugin fails to load due to an UnsupportedOperationException.
The server log indicates that the PacketListener class does not support the version v1_20_R5. Here's the relevant log excerpt:
[ERROR]: [ModernPluginLoadingStrategy] Could not load plugin 'images-2.5.3.jar' in folder 'plugins/.paper-remapped' org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError ... Caused by: java.lang.UnsupportedOperationException: Class class com.andavin.images.PacketListener is not currently supported for version v1_20_R5 at images-2.5.3.jar/com.andavin.images.Versioned.getInstance(Versioned.java:60) at images-2.5.3.jar/com.andavin.images.Images.<clinit>(Images.java:97)
Steps to Reproduce:
Run a Paper server version 1.20.6.
Place images-2.5.3.jar in the plugins folder.
Start the server.
Observe the error in the console.
Expected Behavior:
The plugin should load successfully and function as described, as the Spigot page states compatibility with 1.20.x versions.
Environment:
Server: Paper 1.20.6 (build 148)
Plugin Version: images-2.5.3
Java Version: Java 17
Possible Cause:
The plugin does not seem to handle the version v1_20_R5 properly in the Versioned.getInstance method. It throws an exception because the version-specific class for PacketListener is not implemented.
Suggested Fix:
Please update the plugin to add support for v1_20_R5. If possible, implement a fallback or more robust handling for future versions to avoid breaking compatibility.
Let me know if you need additional details!
Thank you for your support.
Br
BundleDog
The text was updated successfully, but these errors were encountered: