Switch statements and expressions in Java traditionally throw a NullPointerException if the selector expression evaluates to null. This necessitates an external null check before entering the switch.