The lighting was summoned with a /summon command.
There are no crashes when a mob is riding a minecart or another mob.
When re-entering the game, the boat is gone, and the entity is unaffected (doesn't convert, or take damage).
Tested on [villagers/pigs/mooshrooms/llamas/players] riding [boats/minecarts/llamas/llamas with one health].
Crash report:
```
The game crashed whilst ticking entity
Error: java.lang.NullPointerException: Cannot invoke "deu.j()" because "$$0" is null
```
```
Minecraft Crash Report ----
// Hey, that tickles! Hehehe!
Time: 2024-09-07 16:32:03
Description: Ticking entity
java.lang.NullPointerException: Cannot invoke "deu.j()" because "$$0" is null
at cvx.<init>(SourceFile:268)
at cvx.<init>(SourceFile:252)
at cqv.b(SourceFile:70)
at cqv.a(SourceFile:107)
at cqv.a(SourceFile:46)
at btz.a(SourceFile:2704)
at buu.l(SourceFile:131)
at arm.a(SourceFile:760)
at dev.a(SourceFile:503)
at arm.a(SourceFile:405)
at dzn.a(SourceFile:54)
at arm.a(SourceFile:375)
at net.minecraft.server.MinecraftServer.c(SourceFile:1057)
at net.minecraft.server.MinecraftServer.a(SourceFile:944)
at hcd.a(SourceFile:113)
at net.minecraft.server.MinecraftServer.y(SourceFile:707)
at net.minecraft.server.MinecraftServer.a(SourceFile:289)
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 cvx.<init>(SourceFile:268)
at cvx.<init>(SourceFile:252)
at cqv.b(SourceFile:70)
at cqv.a(SourceFile:107)
at cqv.a(SourceFile:46)
at btz.a(SourceFile:2704)
at buu.l(SourceFile:131)
at arm.a(SourceFile:760)
at dev.a(SourceFile:503)
at arm.a(SourceFile:405)
at dzn.a(SourceFile:54)
– Entity being ticked –
Details:
Entity Type: minecraft:lightning_bolt (buu)
Entity ID: 145
Entity Name: Lightning Bolt
Entity's Exact location: 14.87, -60.00, 19.93
Entity's Block location: World: (14,-60,19), Section: (at 14,4,3 in 0,-4,1; chunk contains blocks 0,-64,16 to 15,319,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: null
Stacktrace:
at dev.a(SourceFile:503)
at arm.a(SourceFile:405)
at dzn.a(SourceFile:54)
at arm.a(SourceFile:375)
at net.minecraft.server.MinecraftServer.c(SourceFile:1057)
at net.minecraft.server.MinecraftServer.a(SourceFile:944)
at hcd.a(SourceFile:113)
at net.minecraft.server.MinecraftServer.y(SourceFile:707)
at net.minecraft.server.MinecraftServer.a(SourceFile:289)
at java.base/java.lang.Thread.run(Thread.java:1583)
– Affected level –
Details:
All players: 1 total; [arn['_1024'/4, l='ServerLevel[New World]', x=14.87, y=-60.00, z=19.93]]
Chunk stats: 1369
Level dimension: minecraft:overworld
Level spawn location: World: (0,-60,0), Section: (at 0,4,0 in 0,-4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Level time: 128619 game time, 6000 day time
Level name: New World
Level game mode: Game mode: creative (ID 1). Hardcore: false. Commands: true
Level weather: Rain time: 12191 (now: false), thunder time: 6478 (now: false)
Known server brands: vanilla
Removed feature flags:
Level was modded: false
Level storage version: 0x04ABD - Anvil
Loaded entity count: 53
Stacktrace:
at arm.a(SourceFile:1712)
at net.minecraft.server.MinecraftServer.c(SourceFile:1060)
at net.minecraft.server.MinecraftServer.a(SourceFile:944)
at hcd.a(SourceFile:113)
at net.minecraft.server.MinecraftServer.y(SourceFile:707)
at net.minecraft.server.MinecraftServer.a(SourceFile:289)
at java.base/java.lang.Thread.run(Thread.java:1583)
– System Details –
Details:
Minecraft Version: 24w36a
Minecraft Version ID: 24w36a
Operating System: Windows 10 (amd64) version 10.0
Java Version: 21.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 308672816 bytes (294 MiB) / 671088640 bytes (640 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 4
Processor Vendor: AuthenticAMD
Processor Name: AMD Athlon(tm) X4 860K Quad Core Processor
Identifier: AuthenticAMD Family 21 Model 48 Stepping 1
Microarchitecture: Steamroller
Frequency (GHz): 3.69
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 4
Graphics card #0 name: NVIDIA GeForce GTX 750 Ti
Graphics card #0 vendor: NVIDIA
Graphics card #0 VRAM (MiB): 2048.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 31.0.15.3623
Memory slot #0 capacity (MiB): 8192.00
Memory slot #0 clockSpeed (GHz): 1.60
Memory slot #0 type: DDR3
Virtual memory max (MiB): 16823.11
Virtual memory used (MiB): 10077.24
Swap memory total (MiB): 8671.10
Swap memory used (MiB): 489.31
Space in storage for jna.tmpdir (MiB): available: 19482.57, total: 102351.08
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 19482.57, total: 102351.08
Space in storage for io.netty.native.workdir (MiB): available: 19482.57, total: 102351.08
Space in storage for java.io.tmpdir (MiB): available: 19482.57, total: 102351.08
Space in storage for workdir (MiB): available: 539709.63, total: 850890.00
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Server Running: true
Player Count: 1 / 8; [arn['_1024'/4, l='ServerLevel[New World]', x=14.87, y=-60.00, z=19.93]]
Active Data Packs: vanilla
Available Data Packs: bundle, minecart_improvements, redstone_experiments, trade_rebalance, vanilla
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: -5427757446462267884
Suppressed Exceptions: ~NONE~
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: 24w36a
```
Thank you for your report!
We're tracking this issue in MC-276476, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.