mojira.dev
MC-131783

Crash on breaking 1.12.2 -> 1.13-pre5 upgraded banner

Title + crash report. I was able to repeat the crash 4 times so far.

(1.13-pre5) [^crash-2018-06-30_10.04.18-server.txt]

Description: Ticking player

java.lang.ClassCastException: bbg cannot be cast to bbe
	at bic.k(SourceFile:219)
	at bic.j(SourceFile:206)
	at bbe.a(SourceFile:71)
	at ta.b(SourceFile:241)
	at ta.a(SourceFile:94)
	at sz.R_(SourceFile:319)
	at axc.a(SourceFile:1237)
	at sx.a(SourceFile:577)
	at axc.g(SourceFile:1213)
	at sx.o_(SourceFile:516)
	at axc.l(SourceFile:1078)
	at sx.l(SourceFile:493)
	at net.minecraft.server.MinecraftServer.w(SourceFile:705)
	at net.minecraft.server.MinecraftServer.v(SourceFile:631)
	at dej.v(SourceFile:155)
	at net.minecraft.server.MinecraftServer.run(SourceFile:535)
	at java.lang.Thread.run(Thread.java:745)

Steps to reproduce

  1. Place a banner in version 1.12.2

  2. Upgrade the world from 1.12.2 to 1.13-pre5

  3. Switch to survival mode

  4. Breaking banner by hand or axe causes a crash.

Linked issues

Attachments

Comments 8

Can't confirm. I tested with a normal white banner. What type of banner were you using?

Unable to replicate by breaking only one banner at a time. Using a fill command on a large cube of banners I was able to reliably crash the client. Looks like MC-123363.

I was breaking an upgraded, pre-existing banner from 1.12.2.

I'm unable to reproduce the crash in 1.13-pre5, but the banner I destroy doesn't drop anything.

Unable reproduce in 1.13-pre5 too!

I was able to reproduce this in 1.13-pre5.

Created a world in 1.12.2; Placed a banner (white with no decorations); Quit game and reloaded world in 1.13-pre5; Broke banner (in survival mode); After a few seconds the game crashed.

I did this several times, in a few different worlds, and it seems to happen to me very consistently. It does not happen if the banner is placed in 1.13-pre5, and it does not happen when the banner is broken in creative mode. But if the banner is placed in 1.12.2 (or some earlier 1.13 snapshots but I'm not sure which ones) and then broken in 1.13-pre5 in survival it consistently crashes for me.

Crash Report:

[media]

 

Hmm, I tried to reproduce it again, and my game, again, did not crash. But I looked into the console and there was this message:

[17:09:51] [Server thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.ClassCastException: bbg cannot be cast to bbe
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_51]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_51]
	at k.a(SourceFile:175) [1.13-pre5.jar:?]
	at net.minecraft.server.MinecraftServer.w(SourceFile:675) [1.13-pre5.jar:?]
	at net.minecraft.server.MinecraftServer.v(SourceFile:631) [1.13-pre5.jar:?]
	at dej.v(SourceFile:155) [1.13-pre5.jar:?]
	at net.minecraft.server.MinecraftServer.run(SourceFile:535) [1.13-pre5.jar:?]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
Caused by: java.lang.ClassCastException: bbg cannot be cast to bbe
	at bic.k(SourceFile:219) ~[1.13-pre5.jar:?]
	at bic.j(SourceFile:206) ~[1.13-pre5.jar:?]
	at bbe.a(SourceFile:71) ~[1.13-pre5.jar:?]
	at ta.b(SourceFile:241) ~[1.13-pre5.jar:?]
	at ta.a(SourceFile:174) ~[1.13-pre5.jar:?]
	at tw.a(SourceFile:857) ~[1.13-pre5.jar:?]
	at mv.a(SourceFile:40) ~[1.13-pre5.jar:?]
	at mv.a(SourceFile:10) ~[1.13-pre5.jar:?]
	at iv.a(SourceFile:10) ~[1.13-pre5.jar:?]
	at iv$$Lambda$1914/1074355423.run(Unknown Source) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_51]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_51]
	at k.a(SourceFile:174) ~[1.13-pre5.jar:?]
	... 5 more

Which is mostly the same as in the crash reports. So, for some reason, it catches the exception for me, but not for you.

Yeah, the banner doesn't drop for me either. So this is definitely a reproducable and confirmed bug, crash or not.

Jess Edward

boq

Unconfirmed

Minecraft 1.13-pre3, Minecraft 1.13-pre5

Minecraft 1.13-pre6

Retrieved