Fix NPE in incomplete case statement (fixes #373)
Merge pull request #377 from dlsniper/fix-373

Fix NPE in incomplete case statement (fixes #373)