The Server is spammed with Item entity *number* has no item!?
until it crashes. ~~It is the spawners because it stops when i break them. The spawners are custom and spawn armour and weapons. A copy of the spawner is in the attachments and a crash report.
Confirmed for 13w41b with the following command, in a command block:
/setblock ~ ~1 ~ minecraft:mob_spawner 1 replace {EntityId:Item,SpawnData:{Health:5,Age:0,Item:{id:7,Damage:0,Count:1}}}
Observe the spam in the Development Console of the launcher, or the server console if you perform this on a server.
The message is now of the form:
Client> [02:10:41] [Client thread/ERROR]: Item entity 9740 has no item?!
Marcono says:
Like I wrote already, the problem is the getEntityItem()
method (MCP 1.8 name). Minecraft expects it to be null
when no item data is stored but this method is required to return an ItemStack
for rendering (else the client will crash). Because of this currently it returns a new ItemStack
if the stored ItemStack
is null
(and prints the "Item entity # has not item?!" error message).
Related issues
duplicates
is duplicated by
relates to
Attachments
Comments


You should - at least when you make such experiments - start Minecraft with the default launcher to allocate enough memory.
JVM Flags: 0 total;
your JVM has only 256 MB - that is way too less.

Why is this closed as invalid? I'm able to reproduce it, sans the crashes. As item spawners are a vanilla feature, they should not be spamming the console like this.
EDIT: I should note, OP's crash report seems to indicate a mod item, "CrimTopaz", outside the ordinary item ID range.
On the other hand, I am getting messages of the form
[SEVERE] Item entity 64 has no item?!
with legitimate, vanilla-supported item spawners. The number just keeps incrementing; I've had it climb into the millions before. It makes traversing the server.log tedious. It also makes it difficult to communicate with players via the console; their chat and your own quickly get shunted off the screen.

So, what's the bug ? The crash or spamming of the console ?
Crash : Invalid because of too less memory
Spamming: Please provide exact steps to reproduce.

I've added a new schematic in case OP's schematic did not work.
Steps to reproduce:
Import the "itemsPirate.schematic" into your world. This schematic is designed to randomly spawn various rapidly-despawning items, and succeeds in doing so. All of these items are vanilla-compatible. It was originally made for a custom level I added to a copy of SethBling's Super Craft Bros map, so some of the items may be familiar to some people here. I should also note that SethBling's own spawners also caused this issue.
Start a vanilla 1.5 server, and go near the spawner.
Observe that the console is spammed with messages of the form
[SEVERE] Item entity # has no item?!
where # is a number which continuously increments.
Observe that the items are still spawned as intended.

Can the description be updated and this be reopened? It's a real bug. Unless nobody else can reproduce it? I've had it on several servers on different computers.

Reopened.

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

I can confirm it for 1.5.2, but haven't had a chance to test it on snapshots yet.

I can confirm this message is occurring in vanilla 13w19a. I just closed my game after playing for about an hour and saw this message in the new launcher window I didn't close when I started. It occurred about 20 times near the start of my game. All I did during the game was dig a fort, place a furnace and used it, placed some chests and used them, and made a farm. I can't recall what I was doing at the exact time the messages were spammed though. These messages are the only ones out of the ordinary inbetween the saving messages from pausing the game. It's possible it was the furnace I used and this message was when a fuel was still burning without items.

@Kanegasi : Did you just get this message or did Minecraft crash ? Either way, can you attach the relevant parts of output-client.log
and output-server.log
?

Oops, didn't know the file comment was an actual comment. Anyways, no crash, I simply noticed the log entries after exiting my session and was curious and searched the tracker and then found this bug entry. Just thought I would share my experience.

I can confirm this bug with the Snapshot 13w23b Server. My world has a couple custom spawners, which from all accounts seem to be causing the issue, and severely lags the server. However, there are no such issues playing the same world in SinglePlayer. The server.log is posted above.

Snapshot 13w23b Server.log File

Bug Confirmed for Snapshot 13w24b

Confirmed for Snapshot 13w25b

The server.log file for 13w25b

I looked a bit further into the issue. For each of the custom spawners in my world, it outputs the error message twice. The message also appears to be coming from both the spawner blocks and spawner minecarts.

Another update. I found this in the development console of the Snapshot Launcher while working on the same map in singleplayer.
Client> 2013-06-20 16:10:40 [SERVER] [INFO] Saving and pausing game...
Client> 2013-06-20 16:10:40 [SERVER] [INFO] Saving chunks for level 'horse'/Overworld
Client> 2013-06-20 16:10:40 [SERVER] [INFO] Saving chunks for level 'horse'/Nether
Client> 2013-06-20 16:10:40 [SERVER] [INFO] Saving chunks for level 'horse'/The End
Client> 2013-06-20 16:28:28 [SERVER] [SEVERE] Item entity 414787 has no item?!
Client> 2013-06-20 16:28:28 [SERVER] [SEVERE] Item entity 414787 has no item?!
Client> 2013-06-20 16:29:09 [SERVER] [SEVERE] Item entity 431425 has no item?!
Client> 2013-06-20 16:29:09 [SERVER] [SEVERE] Item entity 431425 has no item?!
Client> 2013-06-20 16:30:26 [SERVER] [INFO] Saving and pausing game...
Client> 2013-06-20 16:30:26 [SERVER] [INFO] Saving chunks for level 'horse'/Overworld
Client> 2013-06-20 16:30:26 [SERVER] [INFO] Saving chunks for level 'horse'/Nether
Client> 2013-06-20 16:30:26 [SERVER] [INFO] Saving chunks for level 'horse'/The End
Client> 2013-06-20 16:30:46 [SERVER] [SEVERE] Item entity 469124 has no item?!
Client> 2013-06-20 16:30:46 [SERVER] [SEVERE] Item entity 469124 has no item?!
Client> 2013-06-20 16:30:50 [SERVER] [SEVERE] Item entity 470705 has no item?!
Client> 2013-06-20 16:30:50 [SERVER] [SEVERE] Item entity 470705 has no item?!
Client> 2013-06-20 16:30:58 [SERVER] [SEVERE] Item entity 474005 has no item?!
Client> 2013-06-20 16:30:58 [SERVER] [SEVERE] Item entity 474005 has no item?!
Client> 2013-06-20 16:31:01 [SERVER] [SEVERE] Item entity 475254 has no item?!
Client> 2013-06-20 16:31:01 [SERVER] [SEVERE] Item entity 475254 has no item?!
It did not, however, noticeably lag the game like it did in multiplayer.

Using 1.6pre, and also experiencing this issue. The launcher still shows the error messages in SP, but everything works fine. However, loading the map containing the Spawners in both LAN and Server MP results in a crash.

I am also experiencing this issue in 1.6.2.
Same outcome as HiFolksImAdam, the Development Console in the launcher shows the error messages in SP, but there's no noticeable performance loss.
Starting an MP server with the map works perfectly until a player logs in. The error messages are then printed to the console and memory usage then climbs to the max and the server crashes.

I believe that this has something to do with the unintended properties that we are using with the spawners, in my case, the manipulation of the t variable may be the issue (using seth blings structure spawner v2). However, I do not understand the issue while using the item entity spawner.

confirmed for 1.6.2 (except for the crashing) aren't you supposed to add some sort of tag to the item, currently I only give 'SpawnData' these tags:
-Age:5999
-Pos

You are supposed to add tags defining what type of item it is. However, this error still occurs regardless of what tags you add - even if you add every single tag an item could possibly have.

I can remember that this didn't happen with sethblings filter, but I might be wrong. I should try that sometime and then delete every tag one by one to see which one I should keep.

It happens with SethBling's filter too - even in his own maps. It didn't always happen, from what I remember, but now it happens for all item spawners.

If someone could go through an isolate each variable, we would be able to tell what is actually making the issue, not that it is just the spawners.

According to Gerrard it is not just one variable, it is caused by the fact that an item is spawned using a spawner and not dropped on the ground using q or breaking a block or killing a mob. Because when you use sethblings filter (which copies all the tags) you still get this message.

Got it. So this is an issue with the spawning of an item feature itself. It does allow for the item to be spawned in in that manner.
And that makes sense for the sethbling structure spawner v2 because if you go deep into the nbt tags, it does spawn an item entity (sandstone i believe, however i dont think that matters).

Confirmed for 1.6.2.
From what I can tell, the error is caused by the spawner itself, and not the entities it spawns. Or, more accurately, it occurs when the spawner tries to render an item spinning in its cage. It first constructs the entity without its item data, causing the error, and then fills in the missing SpawnData, which is why the issue occurs once per refresh of the spinning cage entity.

Hmm makes sense, but when it isn't active because there aren't players in the spawn range the item is still visible but It doesn't give the message. Can you explain that?

The message is generated every time the item in the cage needs to be refreshed. It needs to be refreshed any time it either successfully spawns at least one item, or fails to spawn an item because too many are nearby. It also needs to be refreshed when the chunk containing it is first loaded.
It should be noted that this message also spams the player's console, which is pretty annoying now that the launcher makes this visible in vanilla.

oh yeah that makes sense, basically ever time the spawner chooses a new entity in the 'spawnpotentials' list
This shouldn't be too hard to fix, I remember it didn't occur in 1.3

MOD PLEASE UPDATE STILL AN ISSUE IN 1.6.2

confirmed for 1.6.2

ok, now it really needs to be fixed, I had a ton of lag since the latest few snapshots and first I thought it was because of the antialiasing and stuff, but now I deleted all my spawners in my world and all of a sudden it's fixed. My memory goes up and up and up but without the spawners it stays around 100MB whereas it went all the way up to 3000MB first

Can this at least be marked confirmed for 1.6.4?

Cannot confirm that with vanilla Minecraft.
Is the affecting spawner placeable by a command ? (If yes, please provide the command)

Confirmed in 1.6.4. If you can, please update as confirmed.
*This only effects spawners, /summon doesn't create this problem

Also confirmed in 13w41b. Please update that as well, if my confirmation is reason enough to update the ticket. Thank you.

If a log is necessary to confirm, I can provide it.

Confirmed for 13w41b with the following command, in a command block:
/setblock ~ ~1 ~ minecraft:mob_spawner 1 replace {EntityId:Item,SpawnData:{Health:5,Age:0,Item:{id:7,Damage:0,Count:1}}}
Observe the spam in the Development Console of the launcher, or the server console if you perform this on a server.
The message is now of the form:
Client> [02:10:41] [Client thread/ERROR]: Item entity 9740 has no item?!

Here ya go.

I found a temporary workaround. I used item spawners everywhere to spawn items with age set to 5999 on top of a pressure plate to trigger redstone clocks. Because I don't want a laggy world caused by thousands of commands firing in one tick. So now I just made the spawner spawn XPOrb. Though sometimes you just want to spawn items. Then connect a command block to the pressure plate that spawns an xporb riding an item, that way the spawner still doesn't trigger the pressure plate as long as there are too many items near

Confirmed for 1.7.1.
It's worth noting that this will happen in an invalid dropped item from 1.6.4 is encountered in 1.7.1:
Client> [10:31:27] [Client thread/ERROR]: Item entity 373 has no item?!
Client> [10:31:27] [Server thread/ERROR]: Item entity 373 has no item?!
That spams and lags the server and clients until the item is collected. Fortunately, I think the item can still naturally despawn.
But yes, definitely confirmed for spawners as well.

it's not the items that cause lag. I have a world with about 50-100 different item spawners with age set to 5999 so they despawn immediately, even when I fly far far away from all the spawners so none of them is activated and I don't get error messages any more, I still have memory up to 2000MB and a lot of lag.

I'm getting the following log spam clientside on my purely vanilla SMP 1.7 server, no command blocks or edited in items. Haven't yet checked if it also occurs serverside. Doesn't seem to be causing server-side issues, but some people are complaining about occasional random severe stutters, which may or may not be related.
[23:13:31] [Client thread/ERROR]: Item entity 631151 has no item?!
[23:14:10] [Client thread/ERROR]: Item entity 631807 has no item?!
[23:15:08] [Client thread/ERROR]: Item entity 633223 has no item?!
[23:15:08] [Client thread/ERROR]: Item entity 633223 has no item?!
[23:15:19] [Client thread/ERROR]: Item entity 633588 has no item?!
[23:15:19] [Client thread/ERROR]: Item entity 633588 has no item?!
[23:15:54] [Client thread/ERROR]: Item entity 634292 has no item?!
[23:15:54] [Client thread/ERROR]: Item entity 634292 has no item?!
[23:18:44] [Client thread/ERROR]: Item entity 639385 has no item?!
[23:19:09] [Client thread/ERROR]: Item entity 639732 has no item?!
[23:30:58] [Client thread/ERROR]: Item entity 649787 has no item?!
[23:37:24] [Client thread/ERROR]: Item entity 653089 has no item?!
[23:37:29] [Client thread/ERROR]: Item entity 653393 has no item?!
[23:41:36] [Client thread/ERROR]: Item entity 657891 has no item?!
Note that all of the above messages are repeated multiple times.

I got this bug in Minecraft 1.7.2. I get a lot of this messages. It has so far not crashed my client so far. I am running linux version.
[20:47:37 INFO]: Refreshing local version list...
[20:47:37 INFO]: Minecraft Launcher 1.3.1 (through bootstrap 5) started on linux...
[20:47:37 INFO]: Current time is Oct 31, 2013 8:47:37 PM
[20:47:37 INFO]: System.getProperty('os.name') == 'Linux'
[20:47:37 INFO]: System.getProperty('os.version') == '3.7.7'
[20:47:37 INFO]: System.getProperty('os.arch') == 'amd64'
[20:47:37 INFO]: System.getProperty('java.version') == '1.7.0_45'
[20:47:37 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[20:47:37 INFO]: System.getProperty('sun.arch.data.model') == '64'
---
20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:45 INFO]: Client> [20:52:45] [Client thread/ERROR]: Item entity 79194 has no item?!
[20:52:55 INFO]: Client> [20:52:55] [Client thread/ERROR]: Item entity 79373 has no item?!
[20:54:26 INFO]: Client> [20:54:26] [Client thread/ERROR]: Item entity 81978 has no item?!
[20:54:26 INFO]: Client> [20:54:26] [Client thread/ERROR]: Item entity 81978 has no item?!
[20:54:26 INFO]: Client> [20:54:26] [Client thread/ERROR]: Item entity 81978 has no item?!
[20:54:26 INFO]: Client> [20:54:26] [Client thread/ERROR]: Item entity 81978 has no item?!
[20:54:26 INFO]: Client> [20:54:26] [Client thread/ERROR]: Item entity 81978 has no item?!
[20:54:26 INFO]: Client> [20:54:26] [Client thread/ERROR]: Item entity 81978 has no item?!
[20:54:26 INFO]: Client> [20:54:26] [Client thread/ERROR]: Item entity 81978 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:18 INFO]: Client> [20:59:18] [Client thread/ERROR]: Item entity 87205 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:34 INFO]: Client> [20:59:34] [Client thread/ERROR]: Item entity 87583 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:42 INFO]: Client> [20:59:42] [Client thread/ERROR]: Item entity 87761 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[20:59:51 INFO]: Client> [20:59:51] [Client thread/ERROR]: Item entity 87866 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:03:59 INFO]: Client> [21:03:59] [Client thread/ERROR]: Item entity 93824 has no item?!
[21:05:32 INFO]: Client> [21:05:32] [Client thread/ERROR]: Item entity 95842 has no item?!
[21:05:32 INFO]: Client> [21:05:32] [Client thread/ERROR]: Item entity 95842 has no item?!
[21:05:32 INFO]: Client> [21:05:32] [Client thread/ERROR]: Item entity 95842 has no item?!
[21:05:32 INFO]: Client> [21:05:32] [Client thread/ERROR]: Item entity 95842 has no item?!
[21:05:32 INFO]: Client> [21:05:32] [Client thread/ERROR]: Item entity 95842 has no item?!
[21:05:32 INFO]: Client> [21:05:32] [Client thread/ERROR]: Item entity 95842 has no item?!
[21:05:32 INFO]: Client> [21:05:32] [Client thread/ERROR]: Item entity 95842 has no item?!
[21:05:33 INFO]: Client> [21:05:33] [Client thread/ERROR]: Item entity 95844 has no item?!
[21:05:33 INFO]: Client> [21:05:33] [Client thread/ERROR]: Item entity 95844 has no item?!
[21:05:33 INFO]: Client> [21:05:33] [Client thread/ERROR]: Item entity 95844 has no item?!
[21:05:33 INFO]: Client> [21:05:33] [Client thread/ERROR]: Item entity 95844 has no item?!
[21:05:33 INFO]: Client> [21:05:33] [Client thread/ERROR]: Item entity 95844 has no item?!
[21:05:33 INFO]: Client> [21:05:33] [Client thread/ERROR]: Item entity 95844 has no item?!
[21:05:33 INFO]: Client> [21:05:33] [Client thread/ERROR]: Item entity 95844 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:35 INFO]: Client> [21:05:35] [Client thread/ERROR]: Item entity 95908 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:39 INFO]: Client> [21:05:39] [Client thread/ERROR]: Item entity 95950 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96216 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:45 INFO]: Client> [21:05:45] [Client thread/ERROR]: Item entity 96217 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:05:48 INFO]: Client> [21:05:48] [Client thread/ERROR]: Item entity 96319 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:49 INFO]: Client> [21:06:49] [Client thread/ERROR]: Item entity 97946 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:50 INFO]: Client> [21:06:50] [Client thread/ERROR]: Item entity 97977 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!
[21:06:52 INFO]: Client> [21:06:52] [Client thread/ERROR]: Item entity 97981 has no item?!

I really wonder what is causing this bug. It really breaks custom spawners. I think the idea about the entity rendering in the spawner is an excellent theory.

This really needs to be fixed. It comes from all sorts of spawners; I get the message even on spawners that do not spawn items.

This can be resolved by properly formatting your Summoned Item
/summon Item ~ ~2 ~ {id:1,Age:5900} (Stone with 10s of life - spews tons of Item Entity has no item?!
/summon Item ~ ~2 ~ {Item:{id:1},Age:5900} (Stone with 10s of life - does NOT)
The difference between these two items is that the item spawned has a tag Item: Not FULLY sure why this resolves the issue, but it works for me.

That fix only works for summoned items, not spawners. For a perfectly-formatted spawner of any sort (so long as it can spawn items), it will have this error.

It would seem like spawners are suffering the same issue as an improperly formatted command if that is the case. So the issue could be in that it is not summoning an item properly.

I made a spawner of XPOrb riding an item, still the same message "Item entity # has no item?"
So this happens always that a Spawner tries to spawn an Item.
Command used:
/setblock ~ ~1 ~ minecraft:mob_spawner 1 replace {EntityId:XPOrb,SpawnData:{Value:0,Riding:{id:"Item",Item:{id:5,Damage:0,Count:1}}}}

sigh Confirmed in 1.7.4. Please. Please. PLEASE FIX THIS.

I am still getting this in snapshot 14w20b, but I don't think it has anything to do with the spawners, since I am on a vanilla world.

I am having the same issue in client/server, but instead of [SEVERE] it says:
[Client thread/ERROR]: Item entity # has no item?!
The server in question was running 14w18b. While I would like to move to 20b, but it actually causes more issues than it solves.

yeah I think the message is changed in the latest snapshot

I resolved this by a roll-back, but since have moved to 14w27b and found it far more agreeable than previous versions. It's worth a try.

Is this still happening in 14w28b?

Confirmed with default dungeon spawners (Skeleton and Zombie) in 14w29b.

I have this same issue on singleplayer in 14w32d and every 1.8 snapshot before and even 1.7.5 and later. i have plenty of ram and this issue consistently crashes my video driver (AMD 14.4) and which then causes any type of full screening on any program to take upwards of 10 seconds. It's pretty ridiculous, really. On multiplayer however, this issue does NOT crash the game but does spam the console.
*EDIT*
By fullscreening i mean, for example, opening or quitting minecraft or CS:GO or any other game for that matter

I still have this in 14w33a. I had this when I took a stone pressure plate from the creative menu.

Still present in the new 1.8 release. This happened during caving on SMP (vanilla, ultra hardcore rules). It kept changing the entity number.
[11:14:17] [Client thread/ERROR]: Item entity 383467 has no item?!
[11:14:17] [Client thread/ERROR]: Item entity 383467 has no item?!
[11:14:17] [Client thread/ERROR]: Item entity 383467 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:26:28] [Client thread/ERROR]: Item entity 405090 has no item?!
[11:32:08] [Client thread/ERROR]: Item entity 414574 has no item?!
[11:32:08] [Client thread/ERROR]: Item entity 414574 has no item?!
[11:32:08] [Client thread/ERROR]: Item entity 414574 has no item?!
[11:36:08] [Client thread/ERROR]: Item entity 425054 has no item?!
[11:36:08] [Client thread/ERROR]: Item entity 425054 has no item?!
[11:36:08] [Client thread/ERROR]: Item entity 425054 has no item?!
[11:47:20] [Client thread/ERROR]: Item entity 450031 has no item?!
[11:47:20] [Client thread/ERROR]: Item entity 450031 has no item?!
[11:58:13] [Client thread/ERROR]: Item entity 476488 has no item?!
[11:58:13] [Client thread/ERROR]: Item entity 476488 has no item?!
[11:58:13] [Client thread/ERROR]: Item entity 476488 has no item?!
[11:58:13] [Client thread/ERROR]: Item entity 476488 has no item?!
[12:07:56] [Client thread/INFO]: [CHAT] [name] was blown up by Creeper
[12:15:50] [Client thread/INFO]: Connecting to [ip]
[12:18:31] [Client thread/ERROR]: Item entity 12483 has no item?!
[12:18:31] [Client thread/ERROR]: Item entity 12483 has no item?!
[12:18:31] [Client thread/ERROR]: Item entity 12483 has no item?!

I've noticed that this error seems to coincide with breaking of blocks. I wonder if the wrong items are coming out when blocks are broken. I've reported another error, where I noticed the coincidence: https://bugs.mojang.com/browse/MC-71837
Broken wheat briefly showed up as smooth stone. And the errors contained here happened around the same time. Perhaps it's not always visually possible to see the bug happening, but maybe the errors contained here (MC-11834) are being thrown BECAUSE of the bug contained in MC-71837.
Just a guess.

While I play server-side (all vanilla), it doesn't seem to affect the server but my client log is spammed with "Item entity # has no item?!" every time I create a drop, either by mining or simply by dropping whatever. Maybe worth mentioning that I've made a clean install for 1.8, to see if it solves my lag issues. Well, it doesn't. Found out about this error instead.

Also having this issue on AMD video card, regardless of drivers. I've only received these bug reports twice, every other time it either freezes the computer screen, reboots the computer without errors (as if starting up for the first time), or crashes the computer (which is set to reboot, but it's registering as a crash and sending to me to the safemode options window). I've set it up to collect memory dumps on crash and I can't get Windows to register these crashes as an event (can't get a single memory dump out of it, kernel or otherwise).
Please fix! This renders the game unplayable.

http://gyazo.com/69b1aa4f07baf57a38f599795d26588d
Confirmed for 1.8.1

Hi All, new to this and MC in general, and made a duplicate of this issue, so sorry about that.
I am playing SMP on 1.8.1 with a friend, and I am having trouble everytime I activate doors using pressure pads, go through a portal, ride a horse etc. I lag out and sort of rubber band between different locations and my friend says I appear to be standing still. I get the following messages in my Game Output (see below), the times of which correlate to these laggy events.
I don't have any custom spawners or anything. Is there anything I can do or is this still not understood?
Cheers
[20:57:45] [Client thread/ERROR]: Item entity 45897 has no item?!
[20:57:45] [Client thread/ERROR]: Item entity 45897 has no item?!
[20:57:45] [Client thread/ERROR]: Item entity 45897 has no item?!
[20:57:45] [Client thread/ERROR]: Item entity 45897 has no item?!
[20:59:46] [Client thread/ERROR]: Item entity 56112 has no item?!
[21:12:53] [Client thread/ERROR]: Item entity 98369 has no item?!

Observed in 1.8.4 on client:
[12:12:48] [Client thread/ERROR]: Item entity 379481 has no item?!

vanilla, everything up to date, Item entity 863649 has no item?! and Item entity 873150 has no item?!

Cannot confirm for 1.8.6
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Health:5,Age:0,Item:{id:bedrock,Damage:0,Count:1}}}
The reason for the "Item entity # has no item?" error seems to be a missing or invalid Item id:
/summon Item

Cannot confirm for 1.8.7. Possibly patched?

I can confirm the command used does not cause the console to be spammed.
I can also confirm "/summon Item ~5 ~ ~" (relative co-ords to make sure you don't pick the item up) still spams the console on 1.8.7.

@Qi-rui Chen - By spams the console, do you mean it creates multiple messages when you run the command multiple times? And also, your summon command creating an error message is not a bug as you never assigned it an item while the command used elsewhere in this thread has a valid item.

After some more experimentation I can see what you mean @Noah Larkin.
Here is the results from testing version 1.8.7:
Singleplayer: The spawner does not cause anything to appear in the console, but "/summon Item" causes ~4 messages of "[Server thread/ERROR]: Item entity # has no item?!".
Singleplayer (open to LAN): Same as Singleplayer.
Multiplayer Server: The spawner does not cause anything to appear in the console, but "/summon Item" causes the server log to be spammed with "[<time>][Server thread/ERROR]: Item entity # has no item?
[media]" (different value to server thread).
The server continues to be spammed if the player logs out from the server. The client still gets spammed upon joining the server. The spamming stops when the item is either picked up, despawns.
Stopping and restarting the server causes the spamming to stop.

Duplicate of MC-12949 – If you have not, please use the search function in the future, to see if your bug has already been submitted.
For technical support, please use the Mojang Support Center.
--- This action was performed automagically. If you believe this was done erroneously, please :light_bulb_on: raise an issue.

Duplicate of MC-12949 – If you have not, please use the search function in the future, to see if your bug has already been submitted.
For technical support, please use the Mojang Support Center.
--- This action was performed automagically. If you believe this was done erroneously, please :light_bulb_on: raise an issue.

Sorry for the bot spam.

I am not sure, but this issue does not look like MC-12949 at all.

Yes, but the bot has some gears missing at the moment.

Still getting these messages in 15w36d

Bob: Before confirming more issues: You are aware there is 15w37a out already?

Opps. I didn't update my server as the devs warned 37a was buggy and forgot that 36d wasn't latest version anymore 😞

The reason for this bug in 1.8 (recompiled with MCP): (Please add this completely or partwise to the description)
When the getItemEntity()
method is called and the value of the Item
tag is null
(does not exist or stores the value null
), it prints the error message and return a new ItemStack
however it does not modify its own Item
tag. This means that the next time the method is called it will print again the error and so on. A possible fix would be to also set the returned ItemStack
as item stack of the item entity.
Possible fix (1.8 using MCP)
/**
* Returns the ItemStack corresponding to the Entity (Note: if no item exists, will log an error but still return an
* ItemStack containing Block.stone)
*/
public ItemStack getEntityItem()
{
ItemStack var1 = this.getDataWatcher().getWatchableObjectItemStack(10);
if (var1 == null)
{
if (this.worldObj != null)
{
logger.error("Item entity " + this.getEntityId() + " has no item?!");
}
ItemStack defaultItemStack = new ItemStack(Blocks.stone, 1);
this.setEntityItemStack(defaultItemStack);
return defaultItemStack;
}
else
{
return var1;
}
}
Eventually the contructor of the EntityItem
class should be changed as well to make sure that always a non-null
value is set as EntityItemStack. (In my tests that did not work very well)

Getter methods are not supposed to modify state.

You are right, I cannot quite figure out how exactly Minecraft creates items or what it is actually doing, however the readEntityFromNBT(NBTTagCompound tagCompound)
method has a bug as the returned value of getEntityItem()
is never null
(If it would be null the client would crash because it could not render the item).
EntityItem.java (1.8, MCP)
/**
* (abstract) Protected helper method to read subclass entity data from NBT.
*/
public void readEntityFromNBT(NBTTagCompound tagCompund)
{
...
if (this.getEntityItem() == null)
{
this.setDead();
}
}
Here are some parts I don't understand:
Creating invalid item
[21:45:12] [Server thread/INFO]: EntityItem: Constructor only with world called
[21:45:12] [Server thread/INFO]: EntityItem: Reading NBT
[21:45:12] [Server thread/ERROR]: Item entity 508898 has no item?!
[21:45:12] [Server thread/INFO]: [Player183: Object successfully summoned]
[21:45:12] [Server thread/ERROR]: Item entity 508898 has no item?!
[21:45:12] [Client thread/INFO]: EntityItem: Constructor without stack called
[21:45:12] [Client thread/INFO]: [CHAT] Object successfully summoned
[21:45:12] [Client thread/ERROR]: Item entity 508898 has no item?!
Throwing item
[21:50:40] [Server thread/INFO]: EntityItem: Constructor without stack called
[21:50:40] [Server thread/INFO]: EntityItem: Constructor with stack called
[21:50:40] [Client thread/INFO]: EntityItem: Constructor without stack called

Confirmed for 1.8.8
[09:43:57] [Client thread/INFO]: Connecting to 159.8.141.201, 36680
[09:45:31] [Client thread/ERROR]: Item entity 119805 has no item?!
[09:45:31] [Client thread/ERROR]: Item entity 119805 has no item?!
[09:46:34] [Client thread/ERROR]: Item entity 119985 has no item?!
[09:46:34] [Client thread/ERROR]: Item entity 119985 has no item?!
[09:46:36] [Client thread/ERROR]: Item entity 119986 has no item?!
[09:46:36] [Client thread/ERROR]: Item entity 119986 has no item?!
[09:46:40] [Client thread/ERROR]: Item entity 119990 has no item?!
[09:46:40] [Client thread/ERROR]: Item entity 119990 has no item?!
[09:46:52] [Client thread/ERROR]: Item entity 119992 has no item?!
[09:46:52] [Client thread/ERROR]: Item entity 119992 has no item?!
[09:47:20] [Client thread/ERROR]: Item entity 120106 has no item?!
[09:47:20] [Client thread/ERROR]: Item entity 120106 has no item?!
[09:47:22] [Client thread/ERROR]: Item entity 120112 has no item?!
[09:47:22] [Client thread/ERROR]: Item entity 120112 has no item?!
[09:47:37] [Client thread/ERROR]: Item entity 120148 has no item?!
[09:47:37] [Client thread/ERROR]: Item entity 120148 has no item?!
[09:47:54] [Client thread/ERROR]: Item entity 120210 has no item?!
[09:47:54] [Client thread/ERROR]: Item entity 120210 has no item?!
[09:47:55] [Client thread/ERROR]: Item entity 120211 has no item?!
[09:47:55] [Client thread/ERROR]: Item entity 120211 has no item?!
[09:47:59] [Client thread/ERROR]: Item entity 120225 has no item?!
[09:47:59] [Client thread/ERROR]: Item entity 120225 has no item?!
[09:48:00] [Client thread/ERROR]: Item entity 120226 has no item?!
[09:48:00] [Client thread/ERROR]: Item entity 120226 has no item?!
[09:48:01] [Client thread/ERROR]: Item entity 120228 has no item?!
[09:48:01] [Client thread/ERROR]: Item entity 120228 has no item?!
[09:48:04] [Client thread/ERROR]: Item entity 120235 has no item?!
[09:48:04] [Client thread/ERROR]: Item entity 120235 has no item?!
[09:48:08] [Client thread/ERROR]: Item entity 120240 has no item?!
[09:48:08] [Client thread/ERROR]: Item entity 120240 has no item?!
[09:48:09] [Client thread/ERROR]: Item entity 120242 has no item?!
[09:48:09] [Client thread/ERROR]: Item entity 120242 has no item?!
[09:48:10] [Client thread/ERROR]: Item entity 120243 has no item?!
[09:48:10] [Client thread/ERROR]: Item entity 120243 has no item?!
[09:48:16] [Client thread/ERROR]: Item entity 120253 has no item?!
[09:48:16] [Client thread/ERROR]: Item entity 120253 has no item?!
[09:48:17] [Client thread/ERROR]: Item entity 120255 has no item?!
[09:48:17] [Client thread/ERROR]: Item entity 120255 has no item?!
[09:48:21] [Client thread/ERROR]: Item entity 120260 has no item?!
[09:48:21] [Client thread/ERROR]: Item entity 120260 has no item?!
[09:48:23] [Client thread/ERROR]: Item entity 120262 has no item?!
[09:48:23] [Client thread/ERROR]: Item entity 120262 has no item?!
[09:48:29] [Client thread/ERROR]: Item entity 120270 has no item?!
[09:48:29] [Client thread/ERROR]: Item entity 120270 has no item?!
[09:48:30] [Client thread/ERROR]: Item entity 120272 has no item?!
[09:48:30] [Client thread/ERROR]: Item entity 120272 has no item?!
[09:48:31] [Client thread/ERROR]: Item entity 120274 has no item?!
[09:48:31] [Client thread/ERROR]: Item entity 120274 has no item?!
[09:48:34] [Client thread/ERROR]: Item entity 120277 has no item?!
[09:48:34] [Client thread/ERROR]: Item entity 120277 has no item?!
[09:48:35] [Client thread/ERROR]: Item entity 120279 has no item?!
[09:48:35] [Client thread/ERROR]: Item entity 120279 has no item?!
[09:48:44] [Client thread/ERROR]: Item entity 120457 has no item?!
[09:48:44] [Client thread/ERROR]: Item entity 120457 has no item?!
[09:48:46] [Client thread/ERROR]: Item entity 120461 has no item?!
[09:48:46] [Client thread/ERROR]: Item entity 120461 has no item?!
[09:48:47] [Client thread/ERROR]: Item entity 120463 has no item?!
[09:48:47] [Client thread/ERROR]: Item entity 120463 has no item?!
[09:48:50] [Client thread/ERROR]: Item entity 120479 has no item?!
[09:48:50] [Client thread/ERROR]: Item entity 120479 has no item?!
[09:48:52] [Client thread/ERROR]: Item entity 120485 has no item?!
[09:48:52] [Client thread/ERROR]: Item entity 120485 has no item?!
[09:48:57] [Client thread/ERROR]: Item entity 120491 has no item?!
[09:48:57] [Client thread/ERROR]: Item entity 120491 has no item?!
[09:49:00] [Client thread/ERROR]: Item entity 120496 has no item?!
[09:49:00] [Client thread/ERROR]: Item entity 120496 has no item?!
[09:49:01] [Client thread/ERROR]: Item entity 120501 has no item?!
[09:49:01] [Client thread/ERROR]: Item entity 120501 has no item?!
[09:49:02] [Client thread/ERROR]: Item entity 120504 has no item?!
[09:49:02] [Client thread/ERROR]: Item entity 120504 has no item?!
[09:49:03] [Client thread/ERROR]: Item entity 120505 has no item?!
[09:49:03] [Client thread/ERROR]: Item entity 120505 has no item?!

After the install of optifine...

Reports of modded versions of Minecraft are invalid, please try to reproduce it without any mods.
And also please don't paste the complete Game Ouput
here. Saying that you can confirm it is enough as long as nothing changes for this bug.

Like I wrote already, the problem is the getEntityItem()
method (MCP 1.8 name). Minecraft expects it to be null
when no item data is stored but this method is required to return an ItemStack
for rendering (else the client will crash). Because of this currently it returns a new ItemStack
if the stored ItemStack
is null
(and prints the "Item entity # has not item?!" error message).

confirmed 15w47c
survival multi player on hosted server
windows 10 pro
java 1.8.0_66
log is absolutely flooded

Confirmed 15w49b
Btw that maybe caused by the little spinning entity in the spawner. I'm not sure.

Okay, so this may not help the multitude of server owners that are having this issue but maybe they can use this to track down their problem and get it fixed..
1) This problem can be caused by a plugin trying to spawn a non-spawnable item stack. IE a plugin tries to spawn Material.wall_sign or Material.melon_stem (there are a BUNCH more) these are items that players aren't "allowed" to hold thus they become invalid and typically get rendered as smooth stone when they are actually dropped in the world.
2) Every time one of these non-spawnable items gets "dropped" in the world it will cause this error at least once. Often times it will constantly spam until the offending item is picked up and /clear is run on the player holding the item.
3) If you have a plugin that spawns random items from minecraft into your world that is causing this problem contact the plugin's author and have them add this little bit of code to their plugin to fix the issue.
You must have essentials installed and the plugin will need to hook essentials. (the plugin guys know how to do this)
ItemStack is = new ItemStack(Material_To_Spawn);
MetaItemStack metaStack = new MetaItemStack(is);
if(!metaStack.canSpawn(theirplugin.getES())) {
//System.out.println("Unspawnable item: " + is.getType().name());
//do whatever they need to do, eg: return/continue/break etc.
}

Confirmed for
1.9-pre1

I just had this in 1.9-pre2 by just dropping some items :\

Confirmed for
1.9-pre3

This came up a few times on singleplayer about an hour into playing a new singleplayer world in the 1.9 full release. I'm not exactly sure what to put here, but here's a paste of what my launcher said while I was playing:
[20:27:04] [Client thread/ERROR]: Item entity 18391 has no item?!
[20:27:04] [Client thread/ERROR]: Item entity 18391 has no item?!
[20:27:28] [Client thread/ERROR]: Item entity 18569 has no item?!
[20:27:28] [Client thread/ERROR]: Item entity 18569 has no item?!
I'm pretty sure this happened only while I was just mining some gravel, coal or iron. I've searched around for this issue and it seems to possibly be from when item entities stack together.
Just a note, this was in completely vanilla minecraft, no add-ons/mods or server plugins, just plain vanilla singleplayer.

Happens for me too in 1.9 release. Doesn't seem to affect anything, but I think these may be causing the split-second lag spikes I kept getting.
[14:55:08] [Client thread/ERROR]: Item entity 902073 has no item?!
[14:55:08] [Client thread/ERROR]: Item entity 902073 has no item?!
[14:56:21] [Client thread/ERROR]: Item entity 903762 has no item?!
[14:56:21] [Client thread/ERROR]: Item entity 903762 has no item?!
[14:56:21] [Client thread/ERROR]: Item entity 903762 has no item?!
[14:56:21] [Client thread/ERROR]: Item entity 903762 has no item?!
[14:56:21] [Client thread/ERROR]: Item entity 903762 has no item?!
[14:56:21] [Client thread/ERROR]: Item entity 903762 has no item?!
[14:56:21] [Client thread/ERROR]: Item entity 903762 has no item?!
[14:57:12] [Client thread/ERROR]: Item entity 905420 has no item?!
[14:57:12] [Client thread/ERROR]: Item entity 905420 has no item?!
[14:57:56] [Client thread/ERROR]: Item entity 906896 has no item?!
[14:57:56] [Client thread/ERROR]: Item entity 906896 has no item?!
[15:20:45] [Thread-5/ERROR]: Error in class 'LibraryLWJGLOpenAL'
[15:20:45] [Thread-5/ERROR]: Source '1e574f1e-f745-4e41-866e-b4addffe496c' not found in method 'play'

My friend @The Papa says he experienced this issue in all of the 1.9.1 pre-releases in singleplayer. He reproduced it by blowing up lots of TNT in a world.

this issue appears on 1.10 vanilla minecraft
EDIT: they are 0 spawner custom or other, it's a pure vanilla survival

I'm not trying to criticize, but is "till" a proper word, or should it be changed to "until"?
Also, this bug is very annoying and I get it even in singleplayer. Does it only crash servers or singleplayer too?
And finally, what causes this?

Anybody able to reproduce in 1.10.1?

Yes i am able to reproduce running a 1.10.1 client and the error still persists. I get Item entity (numbers here) has no item?!, with the following numbers: 165757,159333,155797,155566,150825,129859 and 127536,
Example:
[04:49:07] [Client thread/ERROR]: Item entity 165757 has no item?!
[04:49:07] [Client thread/ERROR]: Item entity 165757 has no item?!
[04:49:07] [Client thread/ERROR]: Item entity 165757 has no item?!

Is that on a vanilla server? Anybody able to reproduce in 1.10.2 on a vanilla client & server?

Yes I'm seeing it on 1.10.2 while playing on a server.
If this is still happening why is this issue marked "Resolved"?

Because it was resolved as awaiting response, look at the resolution as well, instead of only the status.

@@unknown: On that server, please force a crash by holding F3+C for 10 seconds and attach the resulting crash report here.

Just reproduced in my vanilla singleplayer world.
Forced crash:
---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.
Time: 20-7-16 16:16
Description: Manually triggered debug crash
java.lang.Throwable
at bcx.az(SourceFile:1705)
at bcx.t(SourceFile:1626)
at bcx.av(SourceFile:968)
at bcx.a(SourceFile:396)
at net.minecraft.client.main.Main.main(SourceFile:124)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at bcx.az(SourceFile:1705)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [bnn['FVbico'/251, l='MpServer', x=27,65, y=65,00, z=263,21]]
Chunk stats: MultiplayerChunkCache: 1089, 1089
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (-56,64,256), Chunk: (at 8,4,0 in -4,16; contains blocks -64,0,256 to -49,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 219479 game time, 219479 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 107 total; [wa['Bat'/548, l='MpServer', x=-13,35, y=16,06, z=214,46], wa['Bat'/550, l='MpServer', x=-17,15, y=15,07, z=216,69], zi['Zombie'/43, l='MpServer', x=-50,50, y=13,00, z=336,50], yp['Creeper'/44, l='MpServer', x=-51,50, y=13,00, z=339,50], wa['Bat'/52, l='MpServer', x=-39,27, y=25,00, z=210,15], yp['Creeper'/53, l='MpServer', x=-32,50, y=15,00, z=228,50], zi['Zombie'/54, l='MpServer', x=-38,50, y=17,00, z=236,50], zd['Skeleton'/55, l='MpServer', x=-38,50, y=17,00, z=227,50], zi['Zombie'/56, l='MpServer', x=-40,49, y=46,00, z=223,76], yp['Creeper'/57, l='MpServer', x=-43,50, y=18,00, z=252,50], zi['Zombie'/58, l='MpServer', x=-43,50, y=18,00, z=252,50], wa['Bat'/59, l='MpServer', x=-41,36, y=25,04, z=260,23], yp['Creeper'/62, l='MpServer', x=-41,50, y=25,00, z=342,17], zi['Zombie'/64, l='MpServer', x=-38,50, y=25,00, z=341,50], zd['Skeleton'/71, l='MpServer', x=-30,50, y=40,00, z=188,50], bnn['FVbico'/251, l='MpServer', x=27,65, y=65,00, z=263,21], yp['Creeper'/72, l='MpServer', x=-29,50, y=40,00, z=186,50], yp['Creeper'/73, l='MpServer', x=-19,50, y=19,00, z=207,50], zd['Skeleton'/74, l='MpServer', x=-24,50, y=13,00, z=211,50], wa['Bat'/75, l='MpServer', x=-14,22, y=15,05, z=216,10], wl['Sheep'/76, l='MpServer', x=-28,12, y=67,00, z=234,36], wl['Sheep'/77, l='MpServer', x=-17,21, y=65,00, z=265,51], wa['Bat'/78, l='MpServer', x=-22,36, y=45,28, z=289,20], wl['Sheep'/79, l='MpServer', x=-17,47, y=66,00, z=280,74], wl['Sheep'/80, l='MpServer', x=-20,73, y=64,00, z=292,31], wl['Sheep'/81, l='MpServer', x=-24,29, y=64,00, z=304,78], wl['Sheep'/92, l='MpServer', x=-14,28, y=80,00, z=190,79], wl['Sheep'/93, l='MpServer', x=-4,65, y=80,00, z=201,45], wl['Sheep'/94, l='MpServer', x=-12,63, y=67,00, z=215,80], yp['Creeper'/95, l='MpServer', x=-15,50, y=49,00, z=227,50], wl['Sheep'/96, l='MpServer', x=-1,45, y=65,28, z=253,51], wl['Sheep'/97, l='MpServer', x=-3,55, y=65,53, z=251,47], zg['Spider'/98, l='MpServer', x=-2,81, y=65,00, z=244,66], zi['Zombie'/99, l='MpServer', x=-14,50, y=13,00, z=259,50], wl['Sheep'/100, l='MpServer', x=-9,73, y=66,00, z=303,55], wl['Sheep'/107, l='MpServer', x=7,73, y=74,00, z=211,51], wl['Sheep'/108, l='MpServer', x=7,29, y=73,00, z=215,47], zi['Zombie'/109, l='MpServer', x=11,07, y=40,00, z=258,93], yp['Creeper'/110, l='MpServer', x=11,70, y=40,00, z=258,76], yp['Creeper'/120, l='MpServer', x=19,50, y=15,00, z=197,50], wa['Bat'/121, l='MpServer', x=16,25, y=37,70, z=257,44], wa['Bat'/122, l='MpServer', x=13,58, y=39,00, z=255,58], wl['Sheep'/123, l='MpServer', x=22,22, y=65,00, z=270,57], wl['Sheep'/124, l='MpServer', x=32,13, y=65,00, z=267,45], wl['Sheep'/125, l='MpServer', x=21,07, y=65,00, z=271,38], wl['Sheep'/126, l='MpServer', x=23,53, y=65,00, z=274,98], wl['Sheep'/127, l='MpServer', x=21,07, y=65,00, z=270,07], wl['Sheep'/128, l='MpServer', x=28,67, y=65,00, z=271,97], wl['Sheep'/129, l='MpServer', x=31,00, y=65,00, z=267,79], wl['Sheep'/130, l='MpServer', x=23,59, y=65,00, z=271,88], wl['Sheep'/131, l='MpServer', x=22,54, y=65,00, z=274,75], wl['Sheep'/132, l='MpServer', x=23,65, y=65,00, z=275,92], wl['Sheep'/133, l='MpServer', x=22,45, y=65,00, z=275,92], wl['Sheep'/134, l='MpServer', x=28,48, y=65,00, z=273,77], wl['Sheep'/135, l='MpServer', x=21,07, y=65,00, z=273,50], wl['Sheep'/136, l='MpServer', x=21,52, y=65,00, z=274,45], wl['Sheep'/137, l='MpServer', x=24,61, y=65,00, z=275,66], wl['Sheep'/141, l='MpServer', x=46,66, y=68,00, z=202,75], wl['Sheep'/142, l='MpServer', x=46,80, y=69,00, z=205,52], wl['Sheep'/143, l='MpServer', x=40,26, y=68,00, z=221,56], wl['Sheep'/144, l='MpServer', x=41,81, y=70,00, z=229,68], zd['Skeleton'/145, l='MpServer', x=44,09, y=69,00, z=234,55], zi['Zombie'/146, l='MpServer', x=47,50, y=21,00, z=270,50], zi['Zombie'/147, l='MpServer', x=47,50, y=21,00, z=272,50], wl['Sheep'/150, l='MpServer', x=55,36, y=72,00, z=186,45], wl['Sheep'/152, l='MpServer', x=53,27, y=72,00, z=183,54], wl['Sheep'/153, l='MpServer', x=50,49, y=69,00, z=199,27], wl['Sheep'/154, l='MpServer', x=53,38, y=71,00, z=197,51], wl['Sheep'/155, l='MpServer', x=62,84, y=72,00, z=192,45], wl['Sheep'/156, l='MpServer', x=60,82, y=70,00, z=211,60], wl['Sheep'/157, l='MpServer', x=62,23, y=70,00, z=225,55], wl['Sheep'/158, l='MpServer', x=60,62, y=70,00, z=240,79], wi['Pig'/159, l='MpServer', x=55,46, y=73,00, z=245,30], zi['Zombie'/160, l='MpServer', x=52,49, y=26,00, z=297,24], wl['Sheep'/163, l='MpServer', x=70,69, y=71,00, z=190,89], wl['Sheep'/164, l='MpServer', x=71,90, y=71,00, z=186,59], wl['Sheep'/165, l='MpServer', x=71,49, y=71,00, z=205,79], wl['Sheep'/166, l='MpServer', x=65,25, y=71,00, z=208,20], wi['Pig'/167, l='MpServer', x=68,03, y=74,00, z=261,61], zi['Zombie'/169, l='MpServer', x=84,50, y=67,00, z=191,50], wa['Bat'/170, l='MpServer', x=86,80, y=59,10, z=194,59], wl['Sheep'/171, l='MpServer', x=88,70, y=70,00, z=210,58], zi['Zombie'/172, l='MpServer', x=86,50, y=67,00, z=194,50], wl['Sheep'/173, l='MpServer', x=84,20, y=75,00, z=209,53], wa['Bat'/174, l='MpServer', x=94,65, y=13,90, z=260,09], yp['Creeper'/175, l='MpServer', x=85,50, y=35,00, z=261,50], wi['Pig'/176, l='MpServer', x=100,25, y=68,00, z=257,59], yp['Creeper'/177, l='MpServer', x=89,50, y=25,00, z=286,50], wi['Pig'/178, l='MpServer', x=88,37, y=68,00, z=279,28], zd['Skeleton'/179, l='MpServer', x=91,23, y=17,00, z=298,49], zd['Skeleton'/180, l='MpServer', x=95,50, y=17,00, z=310,50], wl['Sheep'/181, l='MpServer', x=87,73, y=72,00, z=310,50], wl['Sheep'/182, l='MpServer', x=93,50, y=71,00, z=310,50], wl['Sheep'/183, l='MpServer', x=89,50, y=70,00, z=311,96], wl['Sheep'/188, l='MpServer', x=105,50, y=90,00, z=184,04], wl['Sheep'/189, l='MpServer', x=102,49, y=97,00, z=186,25], wl['Sheep'/190, l='MpServer', x=99,41, y=99,00, z=186,49], zi['Zombie'/193, l='MpServer', x=100,50, y=60,00, z=221,50], zd['Skeleton'/194, l='MpServer', x=99,50, y=60,00, z=220,50], yp['Creeper'/197, l='MpServer', x=105,50, y=20,00, z=263,50], zd['Skeleton'/198, l='MpServer', x=107,50, y=20,00, z=264,50], yp['Creeper'/200, l='MpServer', x=107,50, y=40,00, z=269,50], zi['Zombie'/202, l='MpServer', x=100,50, y=19,00, z=272,50], zi['Zombie'/203, l='MpServer', x=104,34, y=28,00, z=288,18], yp['Creeper'/204, l='MpServer', x=104,50, y=37,00, z=278,50], yq['Enderman'/205, l='MpServer', x=103,81, y=37,00, z=277,50], wa['Bat'/208, l='MpServer', x=104,15, y=35,15, z=332,72]]
Retry entities: 0 total; []
Server brand: vanilla
Server type: Integrated singleplayer server
Stacktrace:
at bln.a(SourceFile:364)
at bcx.b(SourceFile:2535)
at bcx.a(SourceFile:405)
at net.minecraft.client.main.Main.main(SourceFile:124)
-- System Details --
Details:
Minecraft Version: 1.10.2
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: 237065768 bytes (226 MB) / 479752192 bytes (457 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
Launched Version: 1.10.2
LWJGL: 2.9.4
OpenGL: AMD Radeon HD 6800 Series GL version 4.5.13399 Compatibility Profile Context 15.200.1062.1004, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz

I'd like to comment that this happened to me too in Multiplayer. It seems to happen when spawning an item that doesn't exist (apparently).
I am using Spigot 1.10.2, which has a Material enum containing the 'COCOA' material. When spawning this item this error starts to pop up.
I'd also like to add that /give <me> cocoa results in "There is no such item with name minecraft:cocoa".

@unknown
modded server, not supported.
cocoa is a block, without a item.
cocoa beans are dye:3

Is this still an issue in the most recent versions (currently that is 1.13.2, or the latest snapshot 19w06a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.

This issue was technically fixed in 1.11 (=> 16w32a, the first snapshot); the message is no longer logged. However, the fix results in removing the items clientside (MC-111978) which is a bit worse.
I'm resolving this as fixed since technically it is fixed, in that there is no longer log spam or a stone item appearing.
I'm also going to clarify this issue to refer only to newly spawned items or invalid items displaying as stone or and spamming the log. (And as a very belated response to @unknown's comment: cocoa
wasn't an item but only a block; it was only dye back then and spigot, being spigot, named dye ink sac. That's what your issue was, and it wouldn't apply in 1.13+.}}
Whatever crash was referenced is presumably separate and likely relates to old behavior with forcing invalid items to render; that crash report doesn't seem to exist anymore. There's also comments saying that the crash was modded only, so I think it's probably best to just completely exclude it. And this ticket was first created in a pre-1.8❓ era where you could use block IDs for all items, even invalid ones; that hasn't been a thing for a while.