Dynmap®

Dynmap®

2M Downloads

Dynmap not working on 1.21.5

Cassolotl opened this issue · 2 comments

commented

template is bold
sample data is italicized

Issue Description: I updated my server to Spigot 1.21.5 and upon startup I get the following error:

[21:32:40] [Server thread/INFO]: [dynmap] Enabling dynmap v3.7-SNAPSHOT-968
[21:32:40] [Server thread/INFO]: [dynmap] Dynmap is disabled (unsupported platform)
[21:32:40] [Server thread/ERROR]: Error occurred while enabling dynmap v3.7-SNAPSHOT-968 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "org.dynmap.DynmapCore.disableCore()" because "this.core" is null
        at org.dynmap.bukkit.DynmapPlugin.onDisable(DynmapPlugin.java:1094) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:269) ~[spigot-api-1.21.5-R0.1-SNAPSHOT.jar:?]
        at org.dynmap.bukkit.DynmapPlugin.onEnable(DynmapPlugin.java:916) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:267) ~[spigot-api-1.21.5-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.21.5-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:492) ~[spigot-api-1.21.5-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_21_R4.CraftServer.enablePlugin(CraftServer.java:578) ~[spigot-1.21.5.jar:4476-Spigot-e339edc-6c62d9f]
        at org.bukkit.craftbukkit.v1_21_R4.CraftServer.enablePlugins(CraftServer.java:492) ~[spigot-1.21.5.jar:4476-Spigot-e339edc-6c62d9f]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:652) ~[spigot-1.21.5.jar:4476-Spigot-e339edc-6c62d9f]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) ~[spigot-1.21.5.jar:4476-Spigot-e339edc-6c62d9f]
        at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:268) ~[spigot-1.21.5.jar:4476-Spigot-e339edc-6c62d9f]
        at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1007) ~[spigot-1.21.5.jar:4476-Spigot-e339edc-6c62d9f]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[spigot-1.21.5.jar:4476-Spigot-e339edc-6c62d9f]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
  • Dynmap Version: 3.7-SNAPSHOT-968
  • Server Version: CraftBukkit version 4476-Spigot-e339edc-6c62d9f (MC: 1.21.5) (Implementing API version 1.21.5-R0.1-SNAPSHOT)
  • Pastebin of Configuration.txt: Not sure if necessary?
  • Server Host (if applicable): Forestracks
  • Pastebin of crashlogs or other relevant logs: Not sure if necessary? See above.
  • Other Relevant Data/Screenshots: Not aware of anything else relevant.
  • Steps to Replicate: I updated Spigot and Dynmap now produces this:
    Unable to connect Firefox can’t establish a connection to the server at 216.21.6.129:25591. The site could be temporarily unavailable or too busy. Try again in a few moments.

[x] I have looked at all other issues and this is not a duplicate
[ ] I have been able to replicate this - I haven't tried to replicate it.

commented

It needs support merged in (every minor version is going to require this from now on)

I made a pull request here, there's also a .jar download if you want it.
#4198

commented

@jacob1, thank you, I'll try it now and report back!

Edit: It worked, thank you! :)