[MC-10312] Minecraft crashes when a saddled pig you ride dies or when changing between rideable entities Created: 26/Feb/13  Updated: 03/May/15  Resolved: 28/Feb/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w09a, Snapshot 13w09b
Fix Version/s: Snapshot 13w09c

Type: Bug
Reporter: GoodKingFilms Assignee: [Mojang] Jeb (Jens Bergensten)
Resolution: Fixed Votes: 8
Labels: crash, pig, saddle

Attachments: PNG File 2013-02-28_00.56.29.png     Text File crash-2013-02-26_16.49.50-client.txt     Text File crash-2013-02-27_16.13.48-client.txt     Text File crash-2013-02-27_17.51.37-client.txt     Text File crash-2013-02-27_18.00.07-client.txt     Text File crash-2013-02-27_18.18.21-client.txt     Text File crash-2013-02-27_18.30.43-client.txt     Text File crash-2013-02-28_00.49.25-client.txt    
Issue Links:
Duplicate
is duplicated by MC-10313 Minecraft Crash when sitting 2nd time... Resolved
is duplicated by MC-10317 Player riding pig in Lava -> Game cra... Resolved
is duplicated by MC-10322 Changing Boats causes world tick crash Resolved
is duplicated by MC-10327 Game crashes if i going from pig to pig Resolved
is duplicated by MC-10345 Crash to connect a LAN player Resolved
is duplicated by MC-10361 Crash report - 13w09a Resolved
is duplicated by MC-10362 Keeps crashing on my Server Resolved
is duplicated by MC-10364 Riding A Pig a Letting a creeper expl... Resolved
is duplicated by MC-10367 the game crashes when riding pigs Resolved
is duplicated by MC-10381 Game crashes if i going from minecart... Resolved
is duplicated by MC-10383 I was trying to kill piggies with pot... Resolved
is duplicated by MC-10388 ridding pig crash Resolved
is duplicated by MC-10390 Random Crash Resolved
is duplicated by MC-10403 Minecraft crashed, was sitting in a b... Resolved
is duplicated by MC-10413 Rapidly changing transport causes gam... Resolved
is duplicated by MC-10421 random crash 13w09b Resolved
is duplicated by MC-10424 Crash when pig dies when I ride with it. Resolved
is duplicated by MC-10438 Place block crashes game Resolved
is duplicated by MC-10439 Client crash when another player leav... Resolved
is duplicated by MC-10468 Cart collisions makes crash Resolved
is duplicated by MC-10475 Snapshot crash Resolved
is duplicated by MC-10476 Killing a pig while riding it causes ... Resolved
is duplicated by MC-10512 MineCraft 13w09b riding bug Resolved
is duplicated by MC-10516 Minecart crash thingy? Resolved
is duplicated by MC-10522 "Minecart elevator" does not work Resolved
is duplicated by MC-10523 Exception in world tick - Multiplayer Resolved
is duplicated by MC-10530 minecraft crash when minecart occuped... Resolved
is duplicated by MC-10539 Game Crash Resolved
is duplicated by MC-10570 pig, saddle, minecart bug Resolved
is duplicated by MC-10575 13w09b Killing invisible entities Resolved
is duplicated by MC-10577 Game sometimes removes the mine cart ... Resolved
is duplicated by MC-10584 NPE: Tried to go boating with a boat ... Resolved
is duplicated by MC-10592 when getting on a pig with a sattle o... Resolved
is duplicated by MC-10707 Minecraft crashes when player joins a... Resolved
is duplicated by MC-10843 Something is taking too long Resolved
is duplicated by MC-11588 1.5 crash in Netherworld Resolved
Relates
relates to MC-10357 Getting into a minecart with a mob in... Resolved
CHK:
Confirmation Status: Confirmed

 Description   

Minecraft crashes when a pig with a saddle dies, you have to sit on the pig.

(Same with Boats and Minecarts...)

-> 13w09B has the same bug.



 Comments   
Comment by [Mojang] Jeb (Jens Bergensten) [ 28/Feb/13 ]

Fixed for real this time. I was lazy when I "fixed" it yesterday, sorry.

Comment by chris [ 28/Feb/13 ]

u: Exception in world tick
at net.minecraft.client.Minecraft.l(SourceFile:1332)
at net.minecraft.client.Minecraft.K(SourceFile:572)
at net.minecraft.client.Minecraft.run(SourceFile:524)

java.lang.NullPointerException
at sh.a(SourceFile:321)
at zs.e(SourceFile:878)
at bdj.e(SourceFile:129)
at bdj.b(SourceFile:179)
at bdb.a(SourceFile:359)
at eo.a(SourceFile:39)
at ch.b(SourceFile:59)
at bdb.d(SourceFile:95)
at bdj.b(SourceFile:58)
at net.minecraft.client.Minecraft.l(SourceFile:1323)
at net.minecraft.client.Minecraft.K(SourceFile:572)
at net.minecraft.client.Minecraft.run(SourceFile:524)
at java.lang.Thread.run(Unknown Source)

Comment by The.Modificator [ 28/Feb/13 ]

To reproduce the minecart leaving crash described in my previous comment, do this:

  1. Build something like in the screenshot 2013-02-28_00.56.29.png.
  2. Invite a friend (we did this via LAN - but the crash happened on a dedicated server as well).
  3. Place a minecart on one of the two ends, enter it and push the button to start the ride.
  4. After arriving at the other end, leave the minecart. All other players will crash. If they did not, remove the minecart again and restart with step 3.

When trying this, it didn't always happen the first time - you'll have to repeat steps 3 and 4 about 1-7 times to cause the crash.

@Mods: I think, using a even more generic title for this ticket would be good.

Comment by The.Modificator [ 27/Feb/13 ]

Also happens with multiple players when another player leaves a minecarts sometimes. (Attached another crash report.)

java.lang.NullPointerException
	at sh.a(SourceFile:321)
	at bdb.a(SourceFile:618)
	at fd.a(SourceFile:37)
	at ci.b(SourceFile:350)
	at bdb.d(SourceFile:95)
	at bdj.b(SourceFile:58)
Comment by Phossis Phossisa [ 27/Feb/13 ]

Same here. Using my minecart elevator, which requires you to sit in one minecart and enter one above you, crashes the game.

Comment by Phossis Phossisa [ 27/Feb/13 ]

Same here. Using my minecart elevator, which requires you to sit in one minecart and enter one above you, crashes the game.

Comment by Tails [ 27/Feb/13 ]

Crash when changing between entities:

Description: Exception in world tick
java.lang.NullPointerException
	at sh.a(SourceFile:321)
	at bdb.a(SourceFile:618)
	at fd.a(SourceFile:37)
	at ch.b(SourceFile:59)
	at bdb.d(SourceFile:95)
Comment by Tails [ 27/Feb/13 ]

Crash when pig dies:

Description: Exception in world tick
java.lang.NullPointerException
	at sh.a(SourceFile:321)
	at zs.e(SourceFile:878)
	at bdj.e(SourceFile:129)
	at bdj.b(SourceFile:179)
	at bdb.a(SourceFile:359)
Comment by Tails [ 27/Feb/13 ]

Reopended, though a different crash report.
Edit: 2 different reports for dying pig and changing entities

Comment by RockGermany [ 27/Feb/13 ]

Bug in the 13w09b too

Comment by Ben Trigg [ 26/Feb/13 ]

Reason for this: Minecraft is trying to get the player sat on entity when player has already changed seat.

Comment by Tails [ 26/Feb/13 ]

Note:

Description: Exception in world tick
java.lang.NullPointerException
	at ml.h(SourceFile:1203)
	at sg.a(SourceFile:319)
	at zr.e(SourceFile:878)
	at bdg.e(SourceFile:129)
Comment by Tails [ 26/Feb/13 ]

Confirmed.

Generated at Sun Jan 12 12:23:57 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.