Usin runtime package to get stack trace