-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
What is happening?
weird behaviour that I'm only experiencing on linux server when testing - DS for testing is running Ubuntu 22.04.4 LTS with java 21 for the server startup flags only Xms and Xmx
when trying the same with jars for proxy and plugin on windows PC it works fine
What did you expect to happen?
plugin to successfully load
Version
velocityresourcepacks - 1.9.0-SNAPSHOT (build 595)
Config
can't load plugin in the first placeServer/system Version
velocity-3.3.0-SNAPSHOT-409
Log
[12:44:32] [main/INFO] [com.velocitypowered.proxy.VelocityServer]: Booting up Velocity 3.3.0-SNAPSHOT (git-ebc418f6-b409)...
[12:44:32] [main/INFO] [com.velocitypowered.proxy.VelocityServer]: Loading localizations...
[12:44:32] [main/INFO] [com.velocitypowered.proxy.network.ConnectionManager]: Connections will use epoll channels, libdeflate (Linux x86_64) compression, OpenSSL 3.0.x (Linux x86_64) ciphers
[12:44:32] [main/WARN] [com.velocitypowered.proxy.config.VelocityConfiguration]: The proxy is running in offline mode! This is a security risk and you will NOT receive any support!
[12:44:32] [main/INFO] [com.velocitypowered.proxy.VelocityServer]: Loading plugins...
[12:44:32] [main/ERROR] [com.velocitypowered.proxy.plugin.VelocityPluginManager]: Can't create plugin velocityresourcepacks
com.google.inject.ProvisionException: Unable to provision, see the following errors:
1) [Guice/ErrorInjectingConstructor]: NullPointerException: Cannot invoke "de.themoep.resourcepacksplugin.core.PluginLogger.log(java.util.logging.Level, String, java.lang.Throwable)" because the return value of "de.themoep.resourcepacksplugin.velocity.VelocityResourcepacks.getPluginLogger()" is null
at VelocityResourcepacks.<init>(VelocityResourcepacks.java:126)
at VelocityPluginModule.configure(VelocityPluginModule.java:47)
while locating VelocityResourcepacks
Learn more:
https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
1 error
======================
Full classname legend:
======================
VelocityPluginModule: "com.velocitypowered.proxy.plugin.loader.java.VelocityPluginModule"
VelocityResourcepacks: "de.themoep.resourcepacksplugin.velocity.VelocityResourcepacks"
========================
End of classname legend:
========================
at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1151) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1186) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.velocitypowered.proxy.plugin.loader.java.JavaPluginLoader.createPlugin(JavaPluginLoader.java:131) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.velocitypowered.proxy.plugin.VelocityPluginManager.loadPlugins(VelocityPluginManager.java:168) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.velocitypowered.proxy.VelocityServer.loadPlugins(VelocityServer.java:362) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.velocitypowered.proxy.VelocityServer.start(VelocityServer.java:239) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.velocitypowered.proxy.Velocity.main(Velocity.java:71) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
Caused by: java.lang.NullPointerException: Cannot invoke "de.themoep.resourcepacksplugin.core.PluginLogger.log(java.util.logging.Level, String, java.lang.Throwable)" because the return value of "de.themoep.resourcepacksplugin.velocity.VelocityResourcepacks.getPluginLogger()" is null
at de.themoep.resourcepacksplugin.velocity.VelocityResourcepacks.log(VelocityResourcepacks.java:867) ~[?:?]
at de.themoep.resourcepacksplugin.core.PackManager.<init>(PackManager.java:135) ~[?:?]
at de.themoep.resourcepacksplugin.velocity.VelocityResourcepacks.<init>(VelocityResourcepacks.java:93) ~[?:?]
at de.themoep.resourcepacksplugin.velocity.VelocityResourcepacks$$FastClassByGuice$$a30a.GUICE$TRAMPOLINE(<generated>) ~[?:?]
at de.themoep.resourcepacksplugin.velocity.VelocityResourcepacks$$FastClassByGuice$$a30a.apply(<generated>) ~[?:?]
at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:300) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1148) ~[server.jar:3.3.0-SNAPSHOT (git-ebc418f6-b409)]
... 6 more
[12:44:32] [main/INFO] [com.velocitypowered.proxy.VelocityServer]: Loaded 0 plugins
[12:44:32] [Netty epoll Boss #0/INFO] [com.velocitypowered.proxy.network.ConnectionManager]: Listening on /[0:0:0:0:0:0:0:0%0]:30155
[12:44:32] [main/INFO] [com.velocitypowered.proxy.Velocity]: Done (0.5s)!What other programs/plugins are you running?
test with only RP plugin
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels