print stack trace with exception
check for null result from getInfo