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

Injector Fail #376

Closed
RHydrix opened this issue May 17, 2021 · 6 comments
Closed

Injector Fail #376

RHydrix opened this issue May 17, 2021 · 6 comments

Comments

@RHydrix
Copy link

RHydrix commented May 17, 2021

latest.log

I removed all plugins except for worldedit version 7.2.5, and AsyncWorldEdit 3.8.3

Server is on Paper Spigot 1.16.5 version 686 any ideas?

@Black-Hole
Copy link

Spigot changed the plugin class loader recently. I think it's caused by that.

@Dymeth
Copy link

Dymeth commented May 17, 2021

Same on
Paper version git-Paper-693 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
WorldEdit version 7.2.5+57d5ac9
AsyncWorldEdit version 3.8.3

@Krakenied
Copy link

Same

@SBPrime
Copy link
Owner

SBPrime commented May 19, 2021

Looks like a problem caused by change in Spigot:

[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:229)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:131)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * java.base/java.lang.ClassLoader.defineClass1(Native Method)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * java.base/java.lang.reflect.Method.invoke(Method.java:566)
[20:33:43] [Server thread/INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.injector.ClassInjectorBukkit.injectClass(ClassInjectorBukkit.java:133)

Different stack trace

[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * Error message: Cannot invoke "org.bukkit.plugin.java.JavaPlugin.getDescription()" because "loader.plugin" is null
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * Stack: 
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:229)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:131)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * java.base/java.lang.ClassLoader.defineClass1(Native Method)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1010)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * java.base/java.lang.reflect.Method.invoke(Method.java:567)
[09:34:50] [Server thread/INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.injector.ClassInjectorBukkit.injectClass(ClassInjectorBukkit.java:133) 

@James-Cotterill
Copy link

Sorry for mixing topics - #377 (comment)

Did you have a link to this 3 week old working WE on Java 16 working with the temp AWE hack?

Thanks :)

@SBPrime
Copy link
Owner

SBPrime commented May 19, 2021

Sorry I removed that JAR when I started diagnosing the issue.

That said, I managed to add a fix to the plugin (not the best piece of code but still does its job ;) ).

I will push a release within next 48h, I still need to do proper tests on this. You can ask on the forum, perhaps someone can help you.

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

6 participants