Revert "added printStackTrace()"

This reverts commit 85db849f74486cdecc16996d5934083f97a31751.