Fix #2648 : npe on startup
Changed the exception from IllegalState to IllegalArgument
Added test category/runner
Merge pull request #2680 from pveentjer/fix/3.m/2648-npe-startup

Fix/3.m/2648 npe startup