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

1.21.4 Paper Hard fork v50: java.lang.ExceptionInInitializerError #342

Open
cobrex1 opened this issue Dec 27, 2024 · 1 comment
Open

1.21.4 Paper Hard fork v50: java.lang.ExceptionInInitializerError #342

cobrex1 opened this issue Dec 27, 2024 · 1 comment
Labels

Comments

@cobrex1
Copy link

cobrex1 commented Dec 27, 2024

Updated my plugin to Foundation 6.9.13 and tested my plugin on paper 1.21.3 no issues.

Updated server to newest paper release 1.21.4, which is now the hard fork version of paper, and encountered the following error:

[06:33:42] [Server thread/INFO]: Cobrex_III issued server command: /tm
[06:33:42] [Server thread/ERROR]: TownyMenu 1.8.11 encountered an ExceptionInInitializerError! Please check your error.log and report this issue with the information in that file. Running Paper 1.21.4-R0.1-SNAPSHOT and Java 21.0.3
[06:33:42] [Server thread/INFO]: java.lang.ExceptionInInitializerError
[06:33:42] [Server thread/INFO]: at TownyMenu-1.8.11.jar//me.cobrex.townymenu.town.command.TownMenuCommand.onCommand(TownMenuCommand.java:35)
[06:33:42] [Server thread/INFO]: at TownyMenu-1.8.11.jar//me.cobrex.TownyMenu.lib.fo.command.SimpleCommand.execute(SimpleCommand.java:406)
[06:33:42] [Server thread/INFO]: at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:82)
[06:33:42] [Server thread/INFO]: at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
[06:33:42] [Server thread/INFO]: java.lang.NullPointerException: sound is marked non-null but is null
[06:33:42] [Server thread/INFO]: at TownyMenu-1.8.11.jar//me.cobrex.TownyMenu.lib.fo.model.SimpleSound.(SimpleSound.java:19)
[06:33:42] [Server thread/INFO]: at TownyMenu-1.8.11.jar//me.cobrex.TownyMenu.lib.fo.model.SimpleSound.(SimpleSound.java:66)
[06:33:42] [Server thread/INFO]: at TownyMenu-1.8.11.jar//me.cobrex.TownyMenu.lib.fo.menu.Menu.(Menu.java:79)
[06:33:42] [Server thread/INFO]: at TownyMenu-1.8.11.jar//me.cobrex.townymenu.town.command.TownMenuCommand.onCommand(TownMenuCommand.java:35)
[06:33:42] [Server thread/INFO]: at TownyMenu-1.8.11.jar//me.cobrex.TownyMenu.lib.fo.command.SimpleCommand.execute(SimpleCommand.java:406)
[06:33:42] [Server thread/INFO]: at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:82)
[06:33:42] [Server thread/INFO]: at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
[06:33:42] [Server thread/INFO]: [TownyMenu] !-----------------------------------------------------!
[06:33:42] [Server thread/INFO]: [TownyMenu] Failed to execute command /townmenu
[06:33:42] [Server thread/INFO]: [TownyMenu] !-----------------------------------------------------!
[06:33:42] [Server thread/INFO]: [TownyMenu 1.8.11] Command /townmenu took 116.02 ms

Thanks

@cobrex1 cobrex1 added the issue label Dec 27, 2024
@cobrex1 cobrex1 changed the title 1.21.4 Paper Fark fork v50: java.lang.ExceptionInInitializerError 1.21.4 Paper Hard fork v50: java.lang.ExceptionInInitializerError Dec 27, 2024
@Ultimating
Copy link
Contributor

Ultimating commented Dec 29, 2024

To add, one of my users also reported a very similar error to this with one of my plugins built with Foundation.

Stacktrace

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

No branches or pull requests

2 participants