[SPIGOT-1978] Ticking Entity crashes due to NPE with entity's vehicle Created: 19/Mar/16  Updated: 11/Dec/19  Resolved: 19/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jake Ben-Tovim Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: Crash, Entity, Tick
Environment:

Server running Java 8 (1.8.0_72), OS is Linux (amd64) version 3.13.0-43-generic



 Description   

Server randomly crashes very suddenly. It says in the stack trace that it's a NPE on a ticking entity, and in the entity's info, it lists its vehicle as "~ERROR~ NullPointerException: null". I have crash logs from four instances - in every single instance, at the reported world + coordinate of the entity in question, there is a nether portal. I believe it is definitely something to do with retrieving their vehicle while going through portals.

[Stack trace 1](http://pastebin.com/g6yg0vyE)
[Stack trace 2](http://pastebin.com/eCBWdJHj)
[Stack trace 3](http://pastebin.com/Ang5eHkY)
[Stack trace 4](http://pastebin.com/rMjLQx4L)

[My plugins](https://gyazo.com/4da00240c6077e69233c0b801b98b866). It very well could be related to Multiverse Nether Portals being installed. I've done a manual command using that plugin to force all of my worlds to link up properly (those worlds were already linked properly for players, but maybe it was breaking something with other entities). If this solves my issue I'll report back here.



 Comments   
Comment by md_5 [ 19/Mar/16 ]

Please remove all plugins and try the same portal on the same world.

Generated at Tue Apr 15 09:25:47 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.