Game crashed after placing first boat, NullPointerException thrown starting game
Woshiernog opened this issue · 8 comments
Great mod btw. I am really impressed! Now onto my problem. I believe this may have something to do with boat sails, which I had turned off.
Time: 2/28/17 8:07 AM
Description: Getting synched entity data
java.lang.NullPointerException: Getting synched entity data
at net.minecraft.network.datasync.EntityDataManager.func_187219_c(SourceFile:102)
at net.minecraft.network.datasync.EntityDataManager.func_187225_a(SourceFile:116)
at vazkii.quark.vanity.feature.BoatSails.onBoatUpdate(BoatSails.java:95)
at vazkii.quark.base.asm.ASMHooks.onBoatUpdate(ASMHooks.java:49)
at net.minecraft.entity.item.EntityBoat.func_70071_h_(SourceFile)
at net.minecraft.world.World.func_72866_a(World.java:1961)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:840)
at net.minecraft.world.World.func_72870_g(World.java:1931)
at net.minecraft.world.World.func_72939_s(World.java:1747)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:621)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:720)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Server thread
Stacktrace:
at net.minecraft.network.datasync.EntityDataManager.func_187219_c(SourceFile:102)
-- Synched entity data --
Details:
Data ID: NULL
Stacktrace:
at net.minecraft.network.datasync.EntityDataManager.func_187219_c(SourceFile:102)
at net.minecraft.network.datasync.EntityDataManager.func_187225_a(SourceFile:116)
at vazkii.quark.vanity.feature.BoatSails.onBoatUpdate(BoatSails.java:95)
at vazkii.quark.base.asm.ASMHooks.onBoatUpdate(ASMHooks.java:49)
at net.minecraft.entity.item.EntityBoat.func_70071_h_(SourceFile)
at net.minecraft.world.World.func_72866_a(World.java:1961)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:840)
at net.minecraft.world.World.func_72870_g(World.java:1931)
-- Entity being ticked --
Details:
Entity Type: minecraft:boat (net.minecraft.entity.item.EntityBoat)
Entity ID: 186
Entity Name: Boat
Entity's Exact location: -491.26, 62.88, 72.14
Entity's Block location: World: (-492,62,72), Chunk: (at 4,3,8 in -31,4; contains blocks -496,0,64 to -481,255,79), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: ERROR NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1747)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:621)
-- Affected level --
Details:
Level name: Oak Haven
All players: 1 total; [EntityPlayerMP['Woshiernog'/185, l='Oak Haven', x=-489.14, y=64.00, z=72.85]]
Chunk stats: ServerChunkCache: 901 Drop: 0
Level seed: -6791910509607752647
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (123,64,289), Chunk: (at 11,4,1 in 7,18; contains blocks 112,0,288 to 127,255,303), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 367217 game time, 464712 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 51658 (now: false), thunder time: 57161 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:720)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.11.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1816402568 bytes (1732 MB) / 2134114304 bytes (2035 MB) up to 4281597952 bytes (4083 MB)
JVM Flags: 7 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096M -Xms2048M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
FML: MCP 9.38 Powered by Forge 13.20.0.2252 6 mods loaded, 6 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA minecraft{1.11.2} [Minecraft] (minecraft.jar)
UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.11.2-13.20.0.2252.jar)
UCHIJAAAA forge{13.20.0.2252} [Minecraft Forge] (forge-1.11.2-13.20.0.2252.jar)
UCHIJAAAA quark{r1.2-81} [Quark] (Quark-r1.2-81.jar)
UCHIJAAAA autoreglib{1.1-4} [AutoRegLib] (AutoRegLib-1.1-4.jar)
Loaded coremods (and transformers):
LoadingPlugin (Quark-r1.2-81.jar)
vazkii.quark.base.asm.ClassTransformer
GL info: ERROR RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [EntityPlayerMP['Woshiernog'/185, l='Oak Haven', x=-489.14, y=64.00, z=72.85]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
I wasn't playing on a server. I was playing single player. If I turn the boat sails back on, I no longer get the error.
Please use Pastebin for crash reports.
I experience the same issue.
And I think these code are related:
https://github.com/Vazkii/Quark/blob/master/src/main/java/vazkii/quark/base/asm/ClassTransformer.java#L223-L237
Can confirm, banner boats cause a crash when playing on a server w/o quark installed.
Also having this crash
https://openeye.openmods.info/crashes/0ebf90943259b3a8e388401486a93547
I tried narrowing it down and it disappears when I remove Quark.
My configs are unchanged and identical on both sides.
I'm using quark's worldgen on a brand new server and hoping I don't have to reset on day one.
I can try to do a binary search to see what combo is causing it but we have a lot of mods. Any help would be appreciated.
@thisischrys disabling boat banners will fix it.