Potential null pointer access
问题 I encounter a strange situation that is currently not that clear to me: When having the potential null pointer access warning enabled in Eclipse, I get warnings like in the following (the warnings are stick to the line preceding the corresponding comment): protected Item findItemByName(String itemName, Items items) { boolean isItemNameMissing = null == itemName || itemName.isEmpty(); boolean isItemsMissing = null == items || null == items.getItems() || items.getItems().isEmpty(); if