print out exceptions other than NullPointerException
merge branch startup-polling into dev-gradle