[SPIGOT-7749] Error about map CraftMapRenderer Created: 14/Jun/24  Updated: 25/Dec/24  Resolved: 14/Jun/24

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Mathis Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: error
Environment:

Linux


Version: 1.21
Guidelines Read: Yes

 Description   

[12:58:07] [Server thread/ERROR]: Could not render map using renderer org.bukkit.craftbukkit.v1_21_R1.map.CraftMapRenderer
java.lang.IllegalArgumentException: Type must be in the range 0-26
at org.bukkit.map.MapCursor.setRawType(MapCursor.java:191) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.map.MapCursor.setType(MapCursor.java:179) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.map.MapCursor.<init>(MapCursor.java:80) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_21_R1.map.CraftMapRenderer.render(CraftMapRenderer.java:46) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at org.bukkit.craftbukkit.v1_21_R1.map.CraftMapView.render(CraftMapView.java:157) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.world.level.saveddata.maps.WorldMap$WorldMapHumanTracker.a(WorldMap.java:601) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.world.level.saveddata.maps.WorldMap.a(WorldMap.java:418) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.world.item.ItemWorldMap.a(SourceFile:331) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.server.level.EntityPlayer.m(EntityPlayer.java:762) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.server.network.PlayerConnection.d(PlayerConnection.java:345) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.network.NetworkManager.b(NetworkManager.java:436) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:181) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1487) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.server.dedicated.DedicatedServer.c(DedicatedServer.java:406) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1321) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1071) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]



 Comments   
Comment by Mathis [ 14/Jun/24 ]

i updated as you said,
there is the new crash logs

https://mclo.gs/O8C6reX

Comment by Mathilde [ 14/Jun/24 ]

same 
 
[15:26:50] [Server thread/ERROR]: Could not render map using renderer org.bukkit.craftbukkit.v1_21_R1.map.CraftMapRenderer
java.lang.IllegalArgumentException: Type must be in the range 0-26
        at org.bukkit.map.MapCursor.setRawType(MapCursor.java:191) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.map.MapCursor.setType(MapCursor.java:179) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.map.MapCursor.<init>(MapCursor.java:80) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_21_R1.map.CraftMapRenderer.render(CraftMapRenderer.java:46) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at org.bukkit.craftbukkit.v1_21_R1.map.CraftMapView.render(CraftMapView.java:157) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.world.level.saveddata.maps.WorldMap$WorldMapHumanTracker.a(WorldMap.java:601) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.world.level.saveddata.maps.WorldMap.a(WorldMap.java:418) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.world.item.ItemWorldMap.a(SourceFile:331) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.server.level.EntityPlayer.m(EntityPlayer.java:762) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.server.network.PlayerConnection.d(PlayerConnection.java:345) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.network.NetworkManager.b(NetworkManager.java:436) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:181) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1487) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.server.dedicated.DedicatedServer.c(DedicatedServer.java:406) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1321) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1071) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

Comment by md_5 [ 14/Jun/24 ]

Update

Generated at Thu Apr 03 16:58:04 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.