[STORM-396] Replace NullPointerException with UnsupportedOperationException