The `ContextMenu.getItems` used to return an empty list when menu was empty in 2.x.x. The 3.0.0 version returns `null`.
The
ContextMenu.getItemsused to return an empty list when menu was empty in 2.x.x. The 3.0.0 version returnsnull.