Skip to content

Plugin throws exception on waterfall startup #9

@galexrt

Description

@galexrt

Describe the bug

I currently want to try out PunishControl once again and I get the following exception in the waterfall server log:

[13:18:12 INFO]: ======= PROTOCOLIZE =======
[13:18:12 INFO]: Version 2.2.1:356 by Exceptionflug
[13:18:12 INFO]: Supported Platform: Yes (BungeeCordPacketRegistrationStrategy)
[13:18:13 INFO] [Protocolize]: Enabled module dev.simplix.protocolize.data.DataModule
[13:18:13 INFO]: Enabled plugin Protocolize version 2.2.1:356 by Exceptionflug
[13:18:13 ERROR] [PunishControl]: Could not load bootstrap
java.lang.reflect.InvocationTargetException: null
	at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:79) ~[?:?]
	at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:483) ~[?:?]
	at dev.simplix.plugins.punishcontrol.bungeecord.PunishControlPlugin.onEnable(PunishControlPlugin.java:115) ~[?:?]
	at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:315) ~[waterfall.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:fc30291:498]
	at net.md_5.bungee.BungeeCord.start(BungeeCord.java:290) ~[waterfall.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:fc30291:498]
	at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:67) ~[waterfall.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:fc30291:498]
	at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) ~[waterfall.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:fc30291:498]
Caused by: java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
	at dev.simplix.plugins.punishcontrol.bungeecord.PunishControlBungeeCordPluginBootstrap.<init>(PunishControlBungeeCordPluginBootstrap.kt) ~[?:?]
	at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67) ~[?:?]
	... 7 more
Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
	at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:103) ~[waterfall.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:fc30291:498]
	at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:59) ~[waterfall.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:fc30291:498]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
	at dev.simplix.plugins.punishcontrol.bungeecord.libloading.PunishControlClassLoader.loadClass(PunishControlClassLoader.java:200) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
	at dev.simplix.plugins.punishcontrol.bungeecord.PunishControlBungeeCordPluginBootstrap.<init>(PunishControlBungeeCordPluginBootstrap.kt) ~[?:?]
	at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67) ~[?:?]
	... 7 more
[13:18:13 INFO]: Enabled plugin PunishControl version 2.5.1-RELEASE by SimplixSoftworks

Expected behavior

The plugin to correctly load (e.g., GUI and commands available in-game, etc.)

Platform

  • Which platform are you on: Bungeecord (Waterfall)
  • Which version is your server on: This server is running Waterfall version git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:fc30291:498 by md_5
  • Are you using a fork (Eg: Waterfall / Paper / Travertine / etc.) Waterfall
  • Are there any other plugins that might be interfering? I don't think so.

Desktop (please complete the following information):

  • OS: Manjaro
  • Version: Rolling
  • Java-Version: openjdk 18.0.1.1 2022-04-22

Files

  • Attach your debug.log file located in your PunishControl folder

To Reproduce
If applicable:
Steps to reproduce the behavior:

  1. Startup Waterfall proxy
  2. See stacktrace in console during proxy startup

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions