mojira.dev
MC-10312

Minecraft crashes when a saddled pig you ride dies or when changing between rideable entities

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.

Related issues

MC-10313 Minecraft Crash when sitting 2nd time in a pig MC-10317 Player riding pig in Lava -> Game crashes MC-10322 Changing Boats causes world tick crash MC-10327 Game crashes if i going from pig to pig MC-10345 Crash to connect a LAN player MC-10361 Crash report - 13w09a MC-10362 Keeps crashing on my Server MC-10364 Riding A Pig a Letting a creeper explode the pig causes a crash MC-10367 the game crashes when riding pigs MC-10381 Game crashes if i going from minecart to minecart or attempting to board a minecart below MC-10383 I was trying to kill piggies with potions and i got on one and minecraft crashed. MC-10388 ridding pig crash MC-10390 Random Crash MC-10403 Minecraft crashed, was sitting in a boat crashing into lava MC-10413 Rapidly changing transport causes game to crash MC-10421 random crash 13w09b MC-10424 Crash when pig dies when I ride with it. MC-10438 Place block crashes game MC-10439 Client crash when another player leaves a boat (world tick exception) MC-10468 Cart collisions makes crash MC-10475 Snapshot crash MC-10476 Killing a pig while riding it causes a crash MC-10512 MineCraft 13w09b riding bug MC-10516 Minecart crash thingy? MC-10522 "Minecart elevator" does not work MC-10523 Exception in world tick - Multiplayer MC-10530 minecraft crash when minecart occuped is destroy MC-10539 Game Crash MC-10570 pig, saddle, minecart bug MC-10575 13w09b Killing invisible entities MC-10577 Game sometimes removes the mine cart when logging out, and game crashes if you enter/leave mine carts to quickly. MC-10584 NPE: Tried to go boating with a boat in a boat while in a boat MC-10592 when getting on a pig with a sattle on a bat, the game crashed MC-10707 Minecraft crashes when player joins a lan world MC-10843 Something is taking too long MC-11588 1.5 crash in Netherworld

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media]
migrated

Confirmed.

migrated

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)
migrated

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

rockgermany

Bug in the 13w09b too

migrated

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

migrated

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)
migrated

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)
migrated

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

migrated

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

migrated

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)
migrated

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.

migrated

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)

Jens Bergensten

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

migrated

Jens Bergensten

Confirmed

crash, pig, saddle

Snapshot 13w09a, Snapshot 13w09b

Snapshot 13w09c

Retrieved