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

[Bug Report]: ERROR ON STARTING #275

Open
2 tasks done
HonzasikCZ opened this issue Aug 4, 2024 · 3 comments
Open
2 tasks done

[Bug Report]: ERROR ON STARTING #275

HonzasikCZ opened this issue Aug 4, 2024 · 3 comments
Labels
bug Interferes with efficient operation

Comments

@HonzasikCZ
Copy link

HonzasikCZ commented Aug 4, 2024

LibertyBans Version

LibertyBans 1.1.0-RC2

I have confirmed that ...

  • LibertyBans is up to date
  • No similar issue has been reported

Platform

Velocity

Description

[00:30:10] [main/ERROR] [com.velocitypowered.proxy.plugin.VelocityPluginManager]: Can't create plugin libertybans
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) [Guice/MissingConstructor]: No injectable constructor for type VelocityPlugin.

class VelocityPlugin does not have a @Inject annotated constructor or a no-arg constructor.

Requested by:
1  : VelocityPlugin.class(VelocityPlugin.java:60)
     at VelocityPluginModule.configure(VelocityPluginModule.java:47)

Learn more:
  https://github.com/google/guice/wiki/MISSING_CONSTRUCTOR

1 error

======================
Full classname legend:
======================
VelocityPlugin:       "space.arim.libertybans.env.velocity.plugin.VelocityPlugin"
VelocityPluginModule: "com.velocitypowered.proxy.plugin.loader.java.VelocityPluginModule"
========================
End of classname legend:
========================

	at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:589) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
	at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:163) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
	at com.google.inject.Guice.createInjector(Guice.java:87) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
	at com.google.inject.Guice.createInjector(Guice.java:69) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
	at com.google.inject.Guice.createInjector(Guice.java:59) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
	at com.velocitypowered.proxy.plugin.loader.java.JavaPluginLoader.createPlugin(JavaPluginLoader.java:129) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
	at com.velocitypowered.proxy.plugin.VelocityPluginManager.loadPlugins(VelocityPluginManager.java:168) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
	at com.velocitypowered.proxy.VelocityServer.loadPlugins(VelocityServer.java:420) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
	at com.velocitypowered.proxy.VelocityServer.start(VelocityServer.java:260) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
	at com.velocitypowered.proxy.Velocity.main(Velocity.java:71) ~[server.jar:3.3.0-SNAPSHOT (git-1a47a4c6)]
[00:30:10] [main/INFO] [com.velocitypowered.proxy.plugin.VelocityPluginManager]: Loaded plugin protocolize v2 by Exceptionflug
[00:30:10] [main/INFO] [com.velocitypowered.proxy.plugin.VelocityPluginManager]: Loaded plugin nanolimbovelocity 1.0.11 by bivashy, Nan1t
@HonzasikCZ HonzasikCZ added the bug Interferes with efficient operation label Aug 4, 2024
@A248
Copy link
Owner

A248 commented Aug 5, 2024

I spent a lot of time trying to find where Velocity made a breaking change. Are you using a different version of Velocity? I can't find the commit listed in the stack trace (1a47a4c6) anywhere among Velocity's past builds.

@HonzasikCZ
Copy link
Author

Im using Velocity-CTD

@A248
Copy link
Owner

A248 commented Aug 9, 2024

Okay then. Here's the bug. Velocity-CTD should revert this commit to restore compatibility:

GemstoneGG/Velocity-CTD@95f24d6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Interferes with efficient operation
Projects
None yet
Development

No branches or pull requests

2 participants