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

Cannot edit blueprints with dynmap installed #27

Open
knownout opened this issue Mar 6, 2024 · 0 comments
Open

Cannot edit blueprints with dynmap installed #27

knownout opened this issue Mar 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@knownout
Copy link

knownout commented Mar 6, 2024

Describe the bug
Not sure which mod is the exact problem, but when trying to use dynmap and minefortress at the same time, an error occurs when trying to edit or create blueprints

To Reproduce
Steps or conditions to reproduce the behavior:

  1. Install dynmap and minefortrss
  2. Try to edit or create blueprint
  3. See error

Error

java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "org.dynmap.fabric_1_20_2.FabricWorld.getName()" because "fw" is null
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
        at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649) ~[?:?]
        at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
        at net.minecraft.class_3900.method_17634(class_3900.java:62) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_18859(class_1255.java:156) ~[server-intermediary.jar:?]
        at net.minecraft.class_3215$class_4212.method_18859(class_3215.java:564) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_16075(class_1255.java:130) ~[server-intermediary.jar:?]
        at net.minecraft.class_3215$class_4212.method_16075(class_3215.java:573) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_18857(class_1255.java:139) ~[server-intermediary.jar:?]
        at net.minecraft.class_3215.getChunkBlocking(class_3215.java:2292) ~[server-intermediary.jar:?]
        at net.minecraft.class_3215.method_12121(class_3215.java:2188) ~[server-intermediary.jar:?]
        at net.minecraft.class_1937.method_8402(class_1937.java:204) ~[server-intermediary.jar:?]
        at net.minecraft.class_1937.method_22350(class_1937.java:5049) ~[server-intermediary.jar:?]
        at net.minecraft.class_1937.method_8500(class_1937.java:5044) ~[server-intermediary.jar:?]
        at net.minecraft.class_1937.method_30092(class_1937.java:226) ~[server-intermediary.jar:?]
        at net.minecraft.class_1937.method_8652(class_1937.java:213) ~[server-intermediary.jar:?]
        at net.minecraft.class_1937.method_8501(class_1937.java:322) ~[server-intermediary.jar:?]
        at org.minefortress.blueprints.world.BlueprintsWorld.lambda$putBlueprintInAWorld$1(BlueprintsWorld.java:198) ~[minefortress-1.11.1-beta.jar:?]
        at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
        at org.minefortress.blueprints.world.BlueprintsWorld.putBlueprintInAWorld(BlueprintsWorld.java:180) ~[minefortress-1.11.1-beta.jar:?]
        at net.remmintan.mods.minefortress.networking.c2s.ServerboundEditBlueprintPacket.handle(ServerboundEditBlueprintPacket.java:70) ~[minefortress-1.11.1-beta.jar:?]
        at net.remmintan.mods.minefortress.networking.registries.ServerNetworkReceivers.lambda$registerReceiver$0(ServerNetworkReceivers.java:51) ~[minefortress-1.11.1-beta.jar:?]
        at net.minecraft.class_3738.run(class_3738.java:18) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_18859(class_1255.java:156) ~[server-intermediary.jar:?]
        at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:778) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:163) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_16075(class_1255.java:130) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:760) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:754) ~[server-intermediary.jar:?]
        at net.minecraft.class_1255.method_5383(class_1255.java:115) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:738) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:263) ~[server-intermediary.jar:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "org.dynmap.fabric_1_20_2.FabricWorld.getName()" because "fw" is null
        at org.dynmap.fabric_1_20_2.DynmapPlugin$WorldTracker.handleChunkGenerate(DynmapPlugin.java:644) ~[Dynmap-3.7-beta-4-fabric-1.20.2.jar:?]
        at org.dynmap.fabric_1_20_2.DynmapPlugin.lambda$registerEvents$6(DynmapPlugin.java:686) ~[Dynmap-3.7-beta-4-fabric-1.20.2.jar:?]
        at org.dynmap.fabric_1_20_2.event.CustomServerChunkEvents.lambda$static$0(CustomServerChunkEvents.java:12) ~[Dynmap-3.7-beta-4-fabric-1.20.2.jar:?]
        at net.minecraft.class_3898.handler$zbn000$dynmap$onChunkGenerate(class_3898.java:1365) ~[server-intermediary.jar:?]
        at net.minecraft.class_3898.method_17227(class_3898.java:744) ~[server-intermediary.jar:?]
        at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162) ~[datafixerupper-6.0.8.jar:?]
        at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-6.0.8.jar:?]
        at com.mojang.datafixers.util.Either.mapLeft(Either.java:162) ~[datafixerupper-6.0.8.jar:?]
        at net.minecraft.class_3898.method_20460(class_3898.java:726) ~[server-intermediary.jar:?]
        at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
        ... 33 more

Environment info:

  • OS: Ubuntu 22
  • Minecraft version: 1.20.2
  • Mod Version 1.11.1-beta

Any other mods that you use
Dynmap & server-side terrain generation mods

@knownout knownout added the bug Something isn't working label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant