Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Not compatible with newest version of Minestom #85

Open
1 task done
MrDienns opened this issue Feb 8, 2023 · 0 comments
Open
1 task done

Not compatible with newest version of Minestom #85

MrDienns opened this issue Feb 8, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@MrDienns
Copy link

MrDienns commented Feb 8, 2023

Is there an existing issue for this bug?

  • I have searched the existing issues before opening this bug report.

Current Behavior

The extension currently crashes on startup because Minestom has since changed the logger definition for extensions.

See here: https://github.com/Minestom/Minestom/blob/master/src/main/java/net/minestom/server/extensions/Extension.java#L67

Which was changed in this commit: Minestom/Minestom@d7e958f

Expected Behavior

It should be updated to the newest logging of Minestom

Server type

Spigot (includes Spigot-based forks)

Server Version

1.19.2

Other Mods / Plugins in your server

None

Error log

Exception in thread "main" java.lang.NoSuchMethodError: 'org.slf4j.Logger dev.cubxity.plugins.metrics.minestom.bootstrap.UnifiedMetricsMinestomExtension.getLogger()'
        at Ext_UnifiedMetrics//dev.cubxity.plugins.metrics.minestom.bootstrap.UnifiedMetricsMinestomBootstrap.<init>(UnifiedMetricsMinestomBootstrap.kt:48)
        at Ext_UnifiedMetrics//dev.cubxity.plugins.metrics.minestom.bootstrap.UnifiedMetricsMinestomExtension.initialize(UnifiedMetricsMinestomExtension.kt:26)
        at java.base/java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:655)
        at net.minestom.server.extensions.ExtensionManager.gotoInit(ExtensionManager.java:127)
        at net.minestom.server.ServerProcessImpl.start(ServerProcessImpl.java:216)
        at net.minestom.server.MinecraftServer.start(MinecraftServer.java:322)
        at net.minestom.server.MinecraftServer.start(MinecraftServer.java:327)
        at com.dyescape.server.node.lobby.LobbyServer.start(server.kt:41)
        at com.dyescape.server.node.lobby.LobbyNode.start(main.kt:32)
        at com.dyescape.server.node.lobby.MainKt$main$1.invokeSuspend(main.kt:24)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
        at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
        at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
        at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
        at com.dyescape.server.node.lobby.MainKt.main(main.kt:9)
        at com.dyescape.server.node.lobby.MainKt.main(main.kt)

More information

Tested using commit aebf72de90 from Minestom

No response

@MrDienns MrDienns added the bug Something isn't working label Feb 8, 2023
@Cubxity Cubxity added the good first issue Good for newcomers label Feb 13, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants