Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When log() is called from a class using an instance created/stored at ThreadLocal
its StackWalker.StackFrame names changes to "WrappingClass$ClassFromThreadLocal".
This causes NPE because walker.walk(LOCATOR) returns null.
StackTraceElement element = walker.walk(LOCATOR).toStackTraceElement();
It is suggested to check the result of walk() for null-ness and react in the way different from NPE.
Attachments
Issue Links
- links to