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

Can't load on Purpur 1.20.6 #109

Open
PurpleEastZQ opened this issue Nov 8, 2024 · 17 comments
Open

Can't load on Purpur 1.20.6 #109

PurpleEastZQ opened this issue Nov 8, 2024 · 17 comments

Comments

@PurpleEastZQ
Copy link

[23:26:54 ERROR]: [ModernPluginLoadingStrategy] Could not load plugin 'images-2.5.1.jar' in folder 'plugins.paper-remapped'
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:129) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:116) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:38) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:546) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:320) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1150) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:326) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method) ~[?:?]
at java.base/java.lang.Class.forName(Class.java:534) ~[?:?]
at java.base/java.lang.Class.forName(Class.java:513) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:78) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:125) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
... 9 more
Caused by: java.lang.UnsupportedOperationException: Class class com.andavin.images.PacketListener is not currently supported for version v1_20_R5
at images-2.5.1.jar/com.andavin.images.Versioned.getInstance(Versioned.java:60) ~[images-2.5.1.jar:?]
at images-2.5.1.jar/com.andavin.images.Images.(Images.java:97) ~[images-2.5.1.jar:?]
at java.base/java.lang.Class.forName0(Native Method) ~[?:?]
at java.base/java.lang.Class.forName(Class.java:534) ~[?:?]
at java.base/java.lang.Class.forName(Class.java:513) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:78) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:125) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
... 9 more

@CloudeLecaw
Copy link
Collaborator

Update thr plugin. your using 2.5.1..

@PurpleEastZQ
Copy link
Author

But the latest version is 2.5.1..?

@CloudeLecaw
Copy link
Collaborator

CloudeLecaw commented Nov 15, 2024

use Version 2.4.0 that was made for 1.20.6
for paper or spigot
if it still refuse to load then you cant use it on pupur..

you also can try out version 2.5.2
https://github.com/Kici33/Images?tab=readme-ov-file

@masood151117
Copy link

use Version 2.4.0 that was made for 1.20.6 for paper or spigot if it still refuse to load then you cant use it on pupur..

you also can try out version 2.5.2 https://github.com/Kici33/Images?tab=readme-ov-file

no 1.20.6 purpur support . 2.4.0 and 2.5.2 and 2.5.3

@masood151117
Copy link

@Andavin
please fix that issue . all my servers are 1.20.6

@masood151117
Copy link

do you have a discord server ?

@masood151117
Copy link

@resi23

@resi23
Copy link
Contributor

resi23 commented Dec 16, 2024

Yes I have a discord but it's not there to help people with their servers and plugin problems.

@masood151117
Copy link

Yes I have a discord but it's not there to help people with their servers and plugin problems.

if you can add 2.3.3 version in your github . i cant find it

@resi23
Copy link
Contributor

resi23 commented Dec 16, 2024

I don't have it anymore because the developer himself fixed the bug for Paperserver in v2.5.0

This has no changes for Spigot since 2.5.0 would work with Spigot 1.21.1.

For Paper, this update adds an extra compatibility layer to revert to the previous minor version if one isn't officially supported. This will save the need for an update when there is a no-op change like 1.21.1.

When there is a substantial change, errors may occur in which case an update will be required on both Spigot and Paper.```

@masood151117
Copy link

I don't have it anymore because the developer himself fixed the bug for Paperserver in v2.5.0

This has no changes for Spigot since 2.5.0 would work with Spigot 1.21.1.

For Paper, this update adds an extra compatibility layer to revert to the previous minor version if one isn't officially supported. This will save the need for an update when there is a no-op change like 1.21.1.

When there is a substantial change, errors may occur in which case an update will be required on both Spigot and Paper.```

no version working . visit spigotmc reviews page :/

@masood151117
Copy link

I don't have it anymore because the developer himself fixed the bug for Paperserver in v2.5.0

This has no changes for Spigot since 2.5.0 would work with Spigot 1.21.1.

For Paper, this update adds an extra compatibility layer to revert to the previous minor version if one isn't officially supported. This will save the need for an update when there is a no-op change like 1.21.1.

When there is a substantial change, errors may occur in which case an update will be required on both Spigot and Paper.```
[18:08:10 ERROR]: [ModernPluginLoadingStrategy] Could not load plugin 'images-2.
5.0 (1).jar' in folder 'plugins\.paper-remapped'
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
        at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.cre
ateInstance(SpigotPluginProvider.java:129) ~[purpur-1.20.6.jar:1.20.6-2233-0d676
6e]
        at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.cre
ateInstance(SpigotPluginProvider.java:35) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766
e]
        at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadin
gStrategy.loadProviders(ModernPluginLoadingStrategy.java:116) ~[purpur-1.20.6.ja
r:1.20.6-2233-0d6766e]
        at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimplePro
viderStorage.java:38) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
        at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(Laun
chEntryPointHandler.java:36) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:546)
~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedSe
rver.java:320) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1
150) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.ja
va:326) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
        at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError
        at java.base/java.lang.Class.forName0(Native Method) ~[?:?]
        at java.base/java.lang.Class.forName(Class.java:534) ~[?:?]
        at java.base/java.lang.Class.forName(Class.java:513) ~[?:?]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.jav
a:78) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.cre
ateInstance(SpigotPluginProvider.java:125) ~[purpur-1.20.6.jar:1.20.6-2233-0d676
6e]
        ... 9 more
Caused by: java.lang.UnsupportedOperationException: Class class com.andavin.imag
es.PacketListener is not currently supported for version v1_20_R5
        at images-2.5.0 (1).jar/com.andavin.images.Versioned.getInstance(Version
ed.java:60) ~[images-2.5.0 (1).jar:?]
        at images-2.5.0 (1).jar/com.andavin.images.Images.<clinit>(Images.java:9
7) ~[images-2.5.0 (1).jar:?]
        at java.base/java.lang.Class.forName0(Native Method) ~[?:?]
        at java.base/java.lang.Class.forName(Class.java:534) ~[?:?]
        at java.base/java.lang.Class.forName(Class.java:513) ~[?:?]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.jav
a:78) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.cre
ateInstance(SpigotPluginProvider.java:125) ~[purpur-1.20.6.jar:1.20.6-2233-0d676
6e]
        ... 9 more

@masood151117
Copy link

@resi23

@resi23
Copy link
Contributor

resi23 commented Dec 16, 2024

already thinking about updating your server to a current version?

@masood151117
Copy link

already thinking about updating your server to a current version?

I will not update the server to 1.21 for six months. Also, most of the plugins were not updated to 1.21.4 in spigotmc yet

@masood151117
Copy link

I think that customimages should be compatible with 1.20.6 because it is not an old version. If you can give me the fixed version 2.3.3 that you introduced to others in the discussion, or update the current version if you can.

@Andavin
Copy link
Owner

Andavin commented Dec 16, 2024

@PurpleEastZQ Thanks for identifying this. I don't want to release a new version on Spigot for this fix alone, but here's the updated file:

images-2.5.3.jar with bug fixed

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

5 participants