fix an exception when starting spark
Merge pull request #1002 from devoncarew/devoncarew_fix_splitter

fix an exception when starting spark