Images icon indicating copy to clipboard operation
Images copied to clipboard

Can't load on Purpur 1.20.6

Open PurpleEastZQ opened this issue 1 year ago • 17 comments

[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

PurpleEastZQ avatar Nov 08 '24 15:11 PurpleEastZQ

Update thr plugin. your using 2.5.1..

CloudeLecaw avatar Nov 15 '24 12:11 CloudeLecaw

But the latest version is 2.5.1..?

PurpleEastZQ avatar Nov 15 '24 12:11 PurpleEastZQ

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

CloudeLecaw avatar Nov 15 '24 13:11 CloudeLecaw

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 avatar Dec 15 '24 05:12 masood151117

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

masood151117 avatar Dec 15 '24 05:12 masood151117

do you have a discord server ?

masood151117 avatar Dec 15 '24 05:12 masood151117

@resi23

masood151117 avatar Dec 15 '24 18:12 masood151117

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

resi23 avatar Dec 16 '24 12:12 resi23

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

masood151117 avatar Dec 16 '24 14:12 masood151117

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.```

resi23 avatar Dec 16 '24 14:12 resi23

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 avatar Dec 16 '24 14:12 masood151117

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 avatar Dec 16 '24 14:12 masood151117

@resi23

masood151117 avatar Dec 16 '24 14:12 masood151117

already thinking about updating your server to a current version?

resi23 avatar Dec 16 '24 15:12 resi23

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 avatar Dec 16 '24 15:12 masood151117

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.

masood151117 avatar Dec 16 '24 15:12 masood151117

@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

Andavin avatar Dec 16 '24 20:12 Andavin