There is a big difference between null and .get()<p>With null, the actual error can show up somewhere completely different in your code making it hard to trace where the null value came from. With .get() the errors happens at exactly the point where I told the compiler: &quot;trust me, this isn&#x27;t empty!&quot; but was wrong.