Skip to content

[BUG] Error with Velocity v3.4.0 B515 #3

Open
@InvisibleSpiders

Description

@InvisibleSpiders

Error occurs on start, breaking other plugins relying on API:

`[12:23:07 ERROR]: Can't create plugin simplecloud-api
com.google.inject.ProvisionException: Unable to provision, see the following errors:

  1. at VelocityApiProvider.(VelocityApiProvider.kt:12)
    at VelocityPluginModule.configure(VelocityPluginModule.java:47)
    while locating VelocityApiProvider
    Learn more:
    https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
    1 error
    ======================
    Full classname legend:
    ======================
    VelocityApiProvider: "app.simplecloud.api.platform.velocity.VelocityApiProvider"
    VelocityPluginModule: "com.velocitypowered.proxy.plugin.loader.java.VelocityPluginModule"
    ========================
    End of classname legend:
    ========================
    at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1151) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1186) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.velocitypowered.proxy.plugin.loader.java.JavaPluginLoader.createPlugin(JavaPluginLoader.java:131) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.velocitypowered.proxy.plugin.VelocityPluginManager.loadPlugins(VelocityPluginManager.java:173) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.velocitypowered.proxy.VelocityServer.loadPlugins(VelocityServer.java:433) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.velocitypowered.proxy.VelocityServer.start(VelocityServer.java:304) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.velocitypowered.proxy.Velocity.main(Velocity.java:76) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    Caused by: java.lang.NullPointerException
    at app.simplecloud.controller.api.ControllerApi$Companion.createCoroutineApi(ControllerApi.kt:76) ~[?:?]
    at app.simplecloud.api.platform.velocity.VelocityApiProvider.(VelocityApiProvider.kt:17) ~[?:?]
    at app.simplecloud.api.platform.velocity.VelocityApiProvider$$FastClassByGuice$$2508e0.GUICE$TRAMPOLINE() ~[?:?]
    at app.simplecloud.api.platform.velocity.VelocityApiProvider$$FastClassByGuice$$2508e0.apply() ~[?:?]
    at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:300) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1148) ~[velocity.jar:3.4.0-SNAPSHOT (git-10e75b6d-b515)]
    ... 6 more`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions