(MYFACES-1866) Avoid possible NullPointerException and NumberFormatException in JspStateManagerImpl.getServerStateId