Fixed issue with objects in exception stack trace.