---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 2024-06-02 01:59:23 Description: Saving entity NBT java.lang.NullPointerException: Cannot invoke "com.mojang.datafixers.util.Either.map(java.util.function.Function, java.util.function.Function)" because "$$2" is null at net.minecraft.world.entity.Leashable.void setLeashData(net.minecraft.world.entity.Leashable$LeashData)(Leashable.java:73) at net.minecraft.world.entity.Leashable.void writeLeashData(net.minecraft.nbt.CompoundTag,net.minecraft.world.entity.Leashable$LeashData)(Leashable.java:73) at net.minecraft.world.entity.Mob.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(Mob.java:451) at net.minecraft.world.entity.AgeableMob.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(AgeableMob.java:106) at net.minecraft.world.entity.animal.Animal.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(Animal.java:90) at net.minecraft.world.entity.animal.Pig.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(Pig.java:106) at net.minecraft.world.entity.Entity.net.minecraft.nbt.CompoundTag saveWithoutId(net.minecraft.nbt.CompoundTag)(Entity.java:1919) at net.minecraft.world.entity.Entity.boolean saveAsPassenger(net.minecraft.nbt.CompoundTag)(Entity.java:1855) at net.minecraft.world.entity.Entity.boolean save(net.minecraft.nbt.CompoundTag)(Entity.java:1863) at net.minecraft.world.level.chunk.storage.EntityStorage.void storeEntities(net.minecraft.world.level.entity.ChunkEntities)(EntityStorage.java:109) at net.minecraft.world.level.chunk.storage.EntityStorage.void lambda$storeEntities$1(net.minecraft.nbt.ListTag,net.minecraft.world.entity.Entity)(EntityStorage.java:109) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) at net.minecraft.world.level.chunk.storage.EntityStorage.void storeEntities(net.minecraft.world.level.entity.ChunkEntities)(EntityStorage.java:107) at net.minecraft.world.level.entity.PersistentEntitySectionManager.boolean storeChunkSections(long,java.util.function.Consumer)(PersistentEntitySectionManager.java:299) at net.minecraft.world.level.entity.PersistentEntitySectionManager.void lambda$autoSave$13(long)(PersistentEntitySectionManager.java:380) at it.unimi.dsi.fastutil.longs.LongOpenHashSet.null forEach(null)(LongOpenHashSet.java:762) at it.unimi.dsi.fastutil.longs.LongIterable.null forEach(null)(LongIterable.java:146) at it.unimi.dsi.fastutil.longs.AbstractLongCollection.null forEach(null)(AbstractLongCollection.java:153) at net.minecraft.world.level.entity.PersistentEntitySectionManager.void autoSave()(PersistentEntitySectionManager.java:374) at net.minecraft.server.level.ServerLevel.void save(net.minecraft.util.ProgressListener,boolean,boolean)(ServerLevel.java:825) at net.minecraft.server.MinecraftServer.boolean saveAllChunks(boolean,boolean,boolean)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.net.minecraft.SystemReport fillServerSystemReport(net.minecraft.SystemReport)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.boolean isSingleplayerOwner(com.mojang.authlib.GameProfile)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.boolean saveEverything(boolean,boolean,boolean)(MinecraftServer.java:580) at net.minecraft.client.server.IntegratedServer.boolean saveEverything(boolean,boolean,boolean)(IntegratedServer.java:318) at net.minecraft.client.server.IntegratedServer.void tickServer(java.util.function.BooleanSupplier)(IntegratedServer.java:96) at net.minecraft.server.MinecraftServer.void runServer()(MinecraftServer.java:697) at net.minecraft.server.MinecraftServer.net.minecraft.server.MinecraftServer spin(java.util.function.Function)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.net.minecraft.SystemReport fillServerSystemReport(net.minecraft.SystemReport)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.boolean isSingleplayerOwner(com.mojang.authlib.GameProfile)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.void lambda$spin$2(java.util.concurrent.atomic.AtomicReference)(MinecraftServer.java:281) at java.base/java.lang.Thread.run(Thread.java:1583) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Server thread Stacktrace: at net.minecraft.world.entity.Leashable.void setLeashData(net.minecraft.world.entity.Leashable$LeashData)(Leashable.java:73) at net.minecraft.world.entity.Leashable.void writeLeashData(net.minecraft.nbt.CompoundTag,net.minecraft.world.entity.Leashable$LeashData)(Leashable.java:73) at net.minecraft.world.entity.Mob.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(Mob.java:451) at net.minecraft.world.entity.AgeableMob.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(AgeableMob.java:106) at net.minecraft.world.entity.animal.Animal.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(Animal.java:90) at net.minecraft.world.entity.animal.Pig.void addAdditionalSaveData(net.minecraft.nbt.CompoundTag)(Pig.java:106) -- Entity being saved -- Details: Entity Type: minecraft:pig (cfv) Entity ID: 10 Entity Name: Pig Entity's Exact location: -3.43, -60.00, 21.59 Entity's Block location: World: (-4,-60,21), Section: (at 12,4,5 in -1,-4,1; chunk contains blocks -16,-64,16 to -1,319,31), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511) Entity's Momentum: 0.00, 0.00, 0.00 Entity's Passengers: [] Entity's Vehicle: null Stacktrace: at net.minecraft.world.entity.Entity.net.minecraft.nbt.CompoundTag saveWithoutId(net.minecraft.nbt.CompoundTag)(Entity.java:1919) at net.minecraft.world.entity.Entity.boolean saveAsPassenger(net.minecraft.nbt.CompoundTag)(Entity.java:1855) at net.minecraft.world.entity.Entity.boolean save(net.minecraft.nbt.CompoundTag)(Entity.java:1863) at net.minecraft.world.level.chunk.storage.EntityStorage.void storeEntities(net.minecraft.world.level.entity.ChunkEntities)(EntityStorage.java:109) at net.minecraft.world.level.chunk.storage.EntityStorage.void lambda$storeEntities$1(net.minecraft.nbt.ListTag,net.minecraft.world.entity.Entity)(EntityStorage.java:109) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) at net.minecraft.world.level.chunk.storage.EntityStorage.void storeEntities(net.minecraft.world.level.entity.ChunkEntities)(EntityStorage.java:107) at net.minecraft.world.level.entity.PersistentEntitySectionManager.boolean storeChunkSections(long,java.util.function.Consumer)(PersistentEntitySectionManager.java:299) at net.minecraft.world.level.entity.PersistentEntitySectionManager.void lambda$autoSave$13(long)(PersistentEntitySectionManager.java:380) at it.unimi.dsi.fastutil.longs.LongOpenHashSet.null forEach(null)(LongOpenHashSet.java:762) at it.unimi.dsi.fastutil.longs.LongIterable.null forEach(null)(LongIterable.java:146) at it.unimi.dsi.fastutil.longs.AbstractLongCollection.null forEach(null)(AbstractLongCollection.java:153) at net.minecraft.world.level.entity.PersistentEntitySectionManager.void autoSave()(PersistentEntitySectionManager.java:374) at net.minecraft.server.level.ServerLevel.void save(net.minecraft.util.ProgressListener,boolean,boolean)(ServerLevel.java:825) at net.minecraft.server.MinecraftServer.boolean saveAllChunks(boolean,boolean,boolean)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.net.minecraft.SystemReport fillServerSystemReport(net.minecraft.SystemReport)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.boolean isSingleplayerOwner(com.mojang.authlib.GameProfile)(MinecraftServer.java:556) at net.minecraft.server.MinecraftServer.boolean saveEverything(boolean,boolean,boolean)(MinecraftServer.java:580) at net.minecraft.client.server.IntegratedServer.boolean saveEverything(boolean,boolean,boolean)(IntegratedServer.java:318) at net.minecraft.client.server.IntegratedServer.void tickServer(java.util.function.BooleanSupplier)(IntegratedServer.java:96) at net.minecraft.server.MinecraftServer.void runServer()(MinecraftServer.java:697) at net.minecraft.server.MinecraftServer.net.minecraft.server.MinecraftServer spin(java.util.function.Function)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.net.minecraft.SystemReport fillServerSystemReport(net.minecraft.SystemReport)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.boolean isSingleplayerOwner(com.mojang.authlib.GameProfile)(MinecraftServer.java:281) at net.minecraft.server.MinecraftServer.void lambda$spin$2(java.util.concurrent.atomic.AtomicReference)(MinecraftServer.java:281) at java.base/java.lang.Thread.run(Thread.java:1583) -- System Details -- Details: Minecraft Version: 1.21 Pre-Release 2 Minecraft Version ID: 1.21-pre2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 21.0.3, Eclipse Adoptium Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium Memory: 619708416 bytes (591 MiB) / 1069547520 bytes (1020 MiB) up to 4294967296 bytes (4096 MiB) CPUs: 4 Processor Vendor: GenuineIntel Processor Name: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz Identifier: Intel64 Family 6 Model 61 Stepping 4 Microarchitecture: Broadwell (Client) Frequency (GHz): 2.20 Number of physical packages: 1 Number of physical CPUs: 2 Number of logical CPUs: 4 Graphics card #0 name: Intel(R) HD Graphics 5500 Graphics card #0 vendor: Intel Corporation Graphics card #0 VRAM (MiB): 1024.00 Graphics card #0 deviceId: VideoController1 Graphics card #0 versionInfo: 20.19.15.5171 Memory slot #0 capacity (MiB): 4096.00 Memory slot #0 clockSpeed (GHz): 1.33 Memory slot #0 type: DDR3 Memory slot #1 capacity (MiB): 4096.00 Memory slot #1 clockSpeed (GHz): 1.33 Memory slot #1 type: DDR3 Virtual memory max (MiB): 9363.92 Virtual memory used (MiB): 7451.70 Swap memory total (MiB): 1280.00 Swap memory used (MiB): 245.67 Space in storage for jna.tmpdir (MiB): Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): Space in storage for io.netty.native.workdir (MiB): Space in storage for java.io.tmpdir (MiB): available: 31836.56, total: 227569.28 Space in storage for workdir (MiB): available: 31836.56, total: 227569.28 JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx4096m Server Running: true Player Count: 1 / 8; [aqv['apple502j'/4, l='ServerLevel[1.21-pre2]', x=-2.92, y=-60.00, z=19.59]] Active Data Packs: vanilla Available Data Packs: bundle, trade_rebalance, vanilla Enabled Feature Flags: minecraft:vanilla World Generation: Stable World Seed: -2934723456502249846 Type: Integrated Server (map_client.txt) Is Modded: Probably not. Client jar signature and brand is untouched; Server jar signature and brand is untouched Launched Version: 1.21-pre2