Skip to content

Bluemap compatibility issue #20

Open

Description

@MaxenceColet

Hello,

I don't know if this is a BlueMap or WorldThreader issue, here are my logs :

[14:08:24] [BlueMap-Plugin-Loading/ERROR]: Thread Thread[#412,BlueMap-Plugin-Loading,8,main] is requesting exclusive world access. However, only world threads may request exclusive access during the world ticking!
[14:08:24] [BlueMap-Plugin-Loading/ERROR]: Uncaught exception in thread "BlueMap-Plugin-Loading"
java.lang.IllegalStateException: Only world threads may request exclusive access during world ticking!
   at knot/no2.worldthreader.common.thread.WorldThreadingManager.waitForExclusiveWorldAccess(WorldThreadingManager.java:197) ~[Worldthreader-2.1.1.jar:?]
   at knot/net.minecraft.server.MinecraftServer.acquireSingleThreadedWorldAccess(MinecraftServer.java:5178) ~[server-intermediary.jar:?]
   at knot/net.minecraft.server.MinecraftServer.handler$bmg000$worldthreader$avoidParallelWorldAccess1(MinecraftServer.java:5187) ~[server-intermediary.jar:?]
   at knot/net.minecraft.server.MinecraftServer.method_3738(MinecraftServer.java) ~[server-intermediary.jar:?]
   at knot/de.bluecolored.bluemap.fabric.FabricMod.getLoadedServerWorlds(FabricMod.java:157) ~[bluemap-5.7-fabric.jar:?]
   at knot/de.bluecolored.bluemap.common.serverinterface.Server.getServerWorld(Server.java:68) ~[bluemap-5.7-fabric.jar:?]
   at knot/de.bluecolored.bluemap.common.web.MapRequestHandler.createPlayersDataSupplier(MapRequestHandler.java:73) ~[bluemap-5.7-fabric.jar:?]
   at knot/de.bluecolored.bluemap.common.web.MapRequestHandler.<init>(MapRequestHandler.java:45) ~[bluemap-5.7-fabric.jar:?]
   at knot/de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:208) ~[bluemap-5.7-fabric.jar:?]
   at knot/de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:114) ~[bluemap-5.7-fabric.jar:?]
   at knot/de.bluecolored.bluemap.fabric.FabricMod.lambda$onInitialize$2(FabricMod.java:109) ~[bluemap-5.7-fabric.jar:?]
   at java.base/java.lang.Thread.run(Unknown Source) [?:?]

Thank you for your precious work in minecraft tech community !

Activity

  1. 2No2Name commented on Apr 22, 2025

    @2No2Name
    Owner

    Wondering why the mod initializer is running on its own thread. Can you post the entire crash report?

  2. TorchTheDragon commented on Jun 8, 2025

    @TorchTheDragon

    Had the same issue, doesn't cause a crash though. Temp work around I did was setting the gamerule "worldthreader_Active" to false, reloading BlueMap, then setting the gamerule back to true.

    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    modsMod compatibility

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions