fixes #164

check against null + refactor to utility
remove redundant initializer
web jsf servlet : optimisation
 NPE like pattern removal see #164
Merge pull request #172 from hajaUR1/develop

Develop