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

Not loading in 1.20 #75

Open
glippi-zz opened this issue Jun 24, 2023 · 5 comments · May be fixed by #77
Open

Not loading in 1.20 #75

glippi-zz opened this issue Jun 24, 2023 · 5 comments · May be fixed by #77
Assignees
Labels

Comments

@glippi-zz
Copy link

24.06 13:08:00 [Server] Server thread/INFO [dynmap-structures] Enabling dynmap-structures v2.6.0
24.06 13:08:00 [Server] Server thread/ERROR Error occurred while enabling dynmap-structures v2.6.0 (Is it up to date?)
24.06 13:08:00 [Server] INFO java.lang.NullPointerException: Cannot read the array length because "com.kovuthehusky.dynmap.structures.DynmapStructuresPlugin.BIOMES[org.bukkit.block.Biome.ordinal()]" is null
24.06 13:08:00 [Server] INFO at com.kovuthehusky.dynmap.structures.DynmapStructuresPlugin.onEnable(DynmapStructuresPlugin.java:552) ~[?:?]
24.06 13:08:00 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
24.06 13:08:00 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
24.06 13:08:00 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
24.06 13:08:00 [Server] INFO at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:540) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
24.06 13:08:00 [Server] INFO at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:454) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
24.06 13:08:00 [Server] INFO at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:589) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
24.06 13:08:00 [Server] INFO at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
24.06 13:08:00 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:250) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
24.06 13:08:00 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:973) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
24.06 13:08:00 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3811-Spigot-c62f4bd-85b89c3]
24.06 13:08:00 [Server] INFO at java.lang.Thread.run(Unknown Source) ~[?:?]

@glippi-zz
Copy link
Author

Not sure if there is still fixing going on for this part, but currently it is not able to load dynmap-strucutures and gives the above error. Please feel free to let me know if you like more or if this is not going to get fixed as development stopped.

Love the plugin so far, always used it and is great for exploration adventures.

@JafraOnline
Copy link

Yes, I have the same problem with 1.20.1. Hopefully the developer will fix it. It is be a great addon for DynMap.

@diebasis
Copy link

Hello.
I have the same problem reported above.
However, I am using PaperMC version 1.19.4.
I downloaded the source code, recompiled it in IntelliJ and there were no problems generating the JAR.
But it shows the same error messages in the console when trying to load the plugin.
Any tips on what can be done?

An addendum... this error does not occur in version 1.19.2, only from 1.19.4 onwards.

@jbazant jbazant linked a pull request Nov 6, 2023 that will close this issue
@AmonBune
Copy link

@KovuTheHusky Please review the PR #77 since this issue prevents people from being able to load the plugin in all newer server versions.

@Pezmc
Copy link

Pezmc commented Aug 22, 2024

I've built a release which can be found at https://github.com/Pezmc/dynmap-structures/releases/tag/2.6.2, which includes #77 and some other dependency updates.

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

Successfully merging a pull request may close this issue.

6 participants