fixed null pointer issue
Merge branch 'master' of https://github.com/shaikezas/eventpool.git