Currently if a state exists, but an undefined state parameter is provided a NullPointerException occurs. This commit handles the null value. Fixes: gh-5599
Currently if a state exists, but an undefined state parameter is provided a NullPointerException occurs. This commit handles the null value. Fixes: gh-5599