mojira.dev
MC-46758

Can't summon Item Frames

When trying to summon an item frame, the command does nothing and displays a warning in the chat:

An unknown error occured while attempting to perform this command

It shows the same message, even if I try to change the NBT data/item inside/coordinates.

Attachments

Comments 8

Please attach the last part of your development console.

Also please provide the ENTIRE command issued.

Confirmed. Command used:

/summon ItemFrame
[20:30:54 INFO]: Client> [20:30:54] [Client thread/INFO]: [CHAT] Item, ItemFrame
[20:30:55 INFO]: Client> [20:30:55] [Server thread/ERROR]: Couldn't process command: 'summon ItemFrame'
[20:30:55 INFO]: Client> q: Loading entity NBT
[20:30:55 INFO]: Client> 	at rz.f(SourceFile:1250) ~[14w05b.jar:?]
[20:30:55 INFO]: Client> 	at sh.a(SourceFile:150) ~[14w05b.jar:?]
[20:30:55 INFO]: Client> 	at cf.b(SourceFile:74) ~[14w05b.jar:?]
[20:30:55 INFO]: Client> 	at x.a(SourceFile:65) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at of.d(SourceFile:531) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at of.a(SourceFile:518) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at jj.a(SourceFile:37) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at jj.a(SourceFile:9) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at fe.a(SourceFile:163) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at oa.c(SourceFile:134) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at net.minecraft.server.MinecraftServer.v(SourceFile:545) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at net.minecraft.server.MinecraftServer.u(SourceFile:461) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at cae.u(SourceFile:123) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at net.minecraft.server.MinecraftServer.run(SourceFile:377) [14w05b.jar:?]
[20:30:55 INFO]: Client> 	at mh.run(SourceFile:647) [14w05b.jar:?]
[20:30:55 INFO]: Client> Caused by: java.lang.NullPointerException: The validated object is null
[20:30:55 INFO]: Client> 	at org.apache.commons.lang3.Validate.notNull(Validate.java:222) ~[commons-lang3-3.1.jar:3.1]
[20:30:55 INFO]: Client> 	at org.apache.commons.lang3.Validate.notNull(Validate.java:203) ~[commons-lang3-3.1.jar:3.1]
[20:30:55 INFO]: Client> 	at su.a(SourceFile:41) ~[14w05b.jar:?]
[20:30:55 INFO]: Client> 	at su.a(SourceFile:211) ~[14w05b.jar:?]
[20:30:55 INFO]: Client> 	at sv.a(SourceFile:169) ~[14w05b.jar:?]
[20:30:55 INFO]: Client> 	at rz.f(SourceFile:1241) ~[14w05b.jar:?]
[20:30:55 INFO]: Client> 	... 14 more
[20:30:55 INFO]: Client> [20:30:55] [Client thread/INFO]: [CHAT] Bei der Ausführung dieses Befehls trat ein unbekannter Fehler auf
[20:30:58 INFO]: Client> [20:30:58] [Server thread/INFO]: Saving and pausing game...

@Talven81 What? You can see everything on the screenshot. Also, the same issue still happens even when using all tags specific to the item frame:

/summon ItemFrame 9 2 15 {TileX:9,TileY:2,TileZ:15,Dir:0,ItemDropChance:1.0,ItemRotation:1,Item:{id:barrier,Count:1,Damage:0}}

Same when using all entity tags and item frame-specific tags:

/summon ItemFrame 9 2 15 {id:ItemFrame,Pos:[9.5,2.0,15.5],Motion:[0.0,0.0,0.0],Rotation:[0.0,0.0],FallDistance:0.0,Fire:0,Air:0,OnGround:0,Dimension:0,Invulnerable:0,PortalCooldown:0,UUIDMost:123456789,UUIDLeast:113456789,Riding:{},TileX:9,TileY:2,TileZ:15,Dir:0,ItemDropChance:1.0,ItemRotation:1,Item:{id:barrier,Count:1,Damage:0}}

Use "Facing" instead of "Dir".

@Dinnerbone: Try

/summon ItemFrame

That is invalid. It needs extra data (Facing, coordinates).

Zatherz

(Unassigned)

Confirmed

Minecraft 14w05b

Retrieved