Plan icon indicating copy to clipboard operation
Plan copied to clipboard

Plugin crash on startup with bungeecord/waterfall docker container

Open terbin opened this issue 5 years ago • 0 comments

Describe the issue

Running PLAN with this docker container https://github.com/itzg/docker-bungeecord throws an exception since a few days. I have contacted the author of the container here: https://github.com/itzg/docker-bungeecord/issues/49

his answer was: There must have been a bump in the OpenJDK 8 release between the two builds. In any case this is a bug to report against Plan because that's improper to depend on internal APIs. They should instead use portable techniques like https://stackoverflow.com/questions/48325706/querying-swap-space-in-java-9/48326083#48326083

Exceptions & Other Logs

waterfall startup log:

Exception encountered when loading plugin: Plan
java.lang.UnsatisfiedLinkError: sun.management.OperatingSystemImpl.getSystemCpuLoad()D
        at sun.management.OperatingSystemImpl.getSystemCpuLoad(Native Method) ~[?:1.8.0_212]
        at com.djrapitops.plan.gathering.SystemUsage.getAverageSystemLoad(SystemUsage.java:59) ~[?:?]
        at com.djrapitops.plan.gathering.timed.SystemUsageBuffer.warmUp(SystemUsageBuffer.java:51) ~[?:?]
        at com.djrapitops.plan.gathering.timed.SystemUsageBuffer.<init>(SystemUsageBuffer.java:47) ~[?:?]
        at com.djrapitops.plan.gathering.timed.SystemUsageBuffer_Factory.newInstance(SystemUsageBuffer_Factory.java:25) ~[?:?]
        at com.djrapitops.plan.gathering.timed.SystemUsageBuffer_Factory.get(SystemUsageBuffer_Factory.java:17) ~[?:?]
        at com.djrapitops.plan.gathering.timed.SystemUsageBuffer_Factory.get(SystemUsageBuffer_Factory.java:6) ~[?:?]
        at plan.dagger.internal.DoubleCheck.get(DoubleCheck.java:47) ~[?:?]
        at com.djrapitops.plan.gathering.timed.ProxyTPSCounter_Factory.get(ProxyTPSCounter_Factory.java:47) ~[?:?]
        at com.djrapitops.plan.gathering.timed.ProxyTPSCounter_Factory.get(ProxyTPSCounter_Factory.java:12) ~[?:?]
        at plan.dagger.internal.DoubleCheck.get(DoubleCheck.java:47) ~[?:?]
        at plan.dagger.internal.SetFactory.get(SetFactory.java:126) ~[?:?]
        at plan.dagger.internal.SetFactory.get(SetFactory.java:37) ~[?:?]
        at com.djrapitops.plan.TaskSystem_Factory.get(TaskSystem_Factory.java:30) ~[?:?]
        at com.djrapitops.plan.TaskSystem_Factory.get(TaskSystem_Factory.java:9) ~[?:?]
        at plan.dagger.internal.DoubleCheck.get(DoubleCheck.java:47) ~[?:?]
        at com.djrapitops.plan.PlanSystem_Factory.get(PlanSystem_Factory.java:120) ~[?:?]
        at com.djrapitops.plan.PlanSystem_Factory.get(PlanSystem_Factory.java:28) ~[?:?]
        at plan.dagger.internal.DoubleCheck.get(DoubleCheck.java:47) ~[?:?]
        at com.djrapitops.plan.DaggerPlanBungeeComponent.system(DaggerPlanBungeeComponent.java:767) ~[?:?]
        at com.djrapitops.plan.PlanBungee.onEnable(PlanBungee.java:71) ~[?:?]
        at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:300) ~[Waterfall-1.16-403.jar:git:Waterfall-Bootstrap:1.16-R0.5-SNAPSHOT:7395ab3:403]
        at net.md_5.bungee.BungeeCord.start(BungeeCord.java:289) ~[Waterfall-1.16-403.jar:git:Waterfall-Bootstrap:1.16-R0.5-SNAPSHOT:7395ab3:403]
        at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62) ~[Waterfall-1.16-403.jar:git:Waterfall-Bootstrap:1.16-R0.5-SNAPSHOT:7395ab3:403]
        at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) ~[Waterfall-1.16-403.jar:git:Waterfall-Bootstrap:1.16-R0.5-SNAPSHOT:7395ab3:403]

Additional information

using Plan-5.2-build-1147 with latest waterfall build 403

terbin avatar Mar 21 '21 09:03 terbin