avoid NullPointerException when actionName is null
Merge pull request #1 from djsutho/patch-1

avoid NullPointerException when actionName is null