Mojira Archive
MC-102526

(DUPLICATE) Crash when using fishing rod in same tick as @e[type= command

Reproduce: Put a command that executes something from every entity of a certain type into an active repeating command block and use a fishing rod.
Result: Game crashes.
Examples for commands that crash the game when executed in the same game tick as the usage of a fishing rod:
scoreboard players set @e[type=Arrow] test 1
kill @e[type=Cow]
execute @e[type=Item] ~ ~ ~ say test
testfor @e[type=Player]
Examples for commands that don't crash the game:
say @e[type=Sheep]
kill @e[score_test_min=1]

---- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 25.05.16 17:09
Description: Executing command block

java.lang.NullPointerException: Executing command block
	at rx.a(SourceFile:324)
	at p$1.a(SourceFile:188)
	at p$1.apply(SourceFile:185)
	at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:359)
	at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:359)
	at aic.a(SourceFile:2283)
	at p.a(SourceFile:490)
	at p.b(SourceFile:143)
	at k.a(SourceFile:51)
	at ahr.a(SourceFile:114)
	at akw.b(SourceFile:96)
	at lr.a(SourceFile:645)
	at lr.d(SourceFile:216)
	at net.minecraft.server.MinecraftServer.D(SourceFile:618)
	at net.minecraft.server.MinecraftServer.C(SourceFile:554)
	at bzk.C(SourceFile:155)
	at net.minecraft.server.MinecraftServer.run(SourceFile:458)
	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 rx.a(SourceFile:324)
	at p$1.a(SourceFile:188)
	at p$1.apply(SourceFile:185)
	at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:359)
	at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:359)
	at aic.a(SourceFile:2283)
	at p.a(SourceFile:490)
	at p.b(SourceFile:143)
	at k.a(SourceFile:51)

-- Command to be executed --
Details:
	Command: execute @e[type=Arrow] ~ ~ ~ summon FallingSand ~ ~1 ~ {Block:torch}
	Name: @
Stacktrace:
	at ahr.a(SourceFile:114)
	at akw.b(SourceFile:96)

-- Block being ticked --
Details:
	Block: minecraft:repeating_command_block[conditional=false,facing=west]
	Block location: World: (33,4,27), Chunk: (at 1,0,11 in 2,1; contains blocks 32,0,16 to 47,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Stacktrace:
	at lr.a(SourceFile:645)
	at lr.d(SourceFile:216)

-- Affected level --
Details:
	Level name: world
	All players: 1 total; [lt['FaRoGaming'/32, l='world', x=5388998,20, y=56,00, z=438927,31]]
	Chunk stats: ServerChunkCache: 486 Drop: 0
	Level seed: 6478450281557879100
	Level generator: ID 01 - flat, ver 0. Features enabled: true
	Level generator options: 2;7,3x1,52x24;2;
	Level spawn location: World: (0,129,0), Chunk: (at 0,8,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 17137228 game time, 13000 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
	at net.minecraft.server.MinecraftServer.D(SourceFile:618)
	at net.minecraft.server.MinecraftServer.C(SourceFile:554)
	at bzk.C(SourceFile:155)
	at net.minecraft.server.MinecraftServer.run(SourceFile:458)
	at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
	Minecraft Version: 16w21a
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 153559192 bytes (146 MB) / 324702208 bytes (309 MB) up to 7502823424 bytes (7155 MB)
	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx7G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Profiler Position: N/A (disabled)
	Player Count: 1 / 8; [lt['FaRoGaming'/32, l='world', x=5388998,20, y=56,00, z=438927,31]]
	Type: Integrated Server (map_client.txt)
	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

Duplicate

Fabian Röling

2016-05-25, 06:12 PM

2016-05-26, 02:07 PM

2016-05-26, 02:20 AM

0

6

Community Consensus

command, crash

Minecraft 16w21a

-