Answer the question
In order to leave comments, you need to log in
How to change java plugin version?
I need the plugin https://github.com/SergeyDertan/SRegionProtector but when I run it in the kernel, it gives an error...
As the owner says that it is under java 8 but, I included java 8 on Linux, and there are no changes to java 11. ..
Help to parse this error what where?
If you turn on java 11 it says this error:
java.lang.RuntimeException: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:408) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:689) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:679) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.(Server.java:421) [Nukkit-PM1E.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:78) [Nukkit-PM1E.jar:?]
Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
at cn.nukkit.plugin.LibraryLoader.load(LibraryLoader.java:70) ~[Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.LibraryLoader.load(LibraryLoader.java:30) ~[Nukkit-PM1E.jar:?]
at Sergey_Dertan.SRegionProtector.Main.SRegionProtectorMain.loadLibraries(SRegionProtectorMain.java:337) ~[?:?]
at Sergey_Dertan.SRegionProtector.Main.SRegionProtectorMain.onEnable(SRegionProtectorMain.java:88) ~[?:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) ~[Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:119) ~[Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:404) ~[Nukkit-PM1E.jar:?]
... 4 more
2021-02-07 22:04:15.423 [main] INFO - Disabling SRegionProtector v30.0
2021-02-07 22:04:15.435 [main] INFO - [§eSRegionProtector§f] §aStarting saving...
2021-02-07 22:04:15.438 [main] ERROR - Throwing
java.lang.NullPointerException: null
at Sergey_Dertan.SRegionProtector.Main.SRegionProtectorMain.save(SRegionProtectorMain.java:239) ~[?:?]
at Sergey_Dertan.SRegionProtector.Main.SRegionProtectorMain.save(SRegionProtectorMain.java:224) ~[?:?]
at Sergey_Dertan.SRegionProtector.Main.SRegionProtectorMain.onDisable(SRegionProtectorMain.java:421) ~[?:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:91) ~[Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:134) ~[Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.PluginManager.disablePlugin(PluginManager.java:479) [Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:410) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:689) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:679) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.(Server.java:421) [Nukkit-PM1E.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:78) [Nukkit-PM1E.jar:?]
2021-02-10 09:04:36.613 [main] ERROR - Throwing
java.lang.RuntimeException: java.lang.IllegalArgumentException: Tried to get block runtime id for unsupported protocol version: 20
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:408) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:689) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:679) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.<init>(Server.java:421) [Nukkit-PM1E.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:78) [Nukkit-PM1E.jar:?]
Caused by: java.lang.IllegalArgumentException: Tried to get block runtime id for unsupported protocol version: 20
at cn.nukkit.level.GlobalBlockPalette.getOrCreateRuntimeId(GlobalBlockPalette.java:409) ~[Nukkit-PM1E.jar:?]
at cn.nukkit.level.GlobalBlockPalette.getOrCreateRuntimeId(GlobalBlockPalette.java:510) ~[Nukkit-PM1E.jar:?]
at Sergey_Dertan.SRegionProtector.Region.Selector.RegionSelector.<init>(RegionSelector.java:33) ~[?:?]
at Sergey_Dertan.SRegionProtector.Main.SRegionProtectorMain.initRegions(SRegionProtectorMain.java:199) ~[?:?]
at Sergey_Dertan.SRegionProtector.Main.SRegionProtectorMain.onEnable(SRegionProtectorMain.java:96) ~[?:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) ~[Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:119) ~[Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:404) ~[Nukkit-PM1E.jar:?]
... 4 more
2021-02-10 09:04:36.626 [main] INFO - Выключение SRegionProtector v30.0
2021-02-10 09:04:36.630 [main] INFO - [§eSRegionProtector§f] §aЗапуск сохранения...
2021-02-10 09:04:36.633 [main] ERROR - Throwing
java.lang.NullPointerException: null
at Sergey_Dertan.SRegionProtector.Main.SRegionProtectorMain.save(SRegionProtectorMain.java:239) ~[?:?]
at Sergey_Dertan.SRegionProtector.Main.SRegionProtectorMain.save(SRegionProtectorMain.java:224) ~[?:?]
at Sergey_Dertan.SRegionProtector.Main.SRegionProtectorMain.onDisable(SRegionProtectorMain.java:421) ~[?:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:91) ~[Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:134) ~[Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.PluginManager.disablePlugin(PluginManager.java:479) [Nukkit-PM1E.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:410) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:689) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:679) [Nukkit-PM1E.jar:?]
at cn.nukkit.Server.<init>(Server.java:421) [Nukkit-PM1E.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:78) [Nukkit-PM1E.jar:?]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question