Profiler and JUnit --> NullPointerException
Status: Inactive
Brought to you by:
ricardoinzaurra
When I try to profile my JUnitTests I receive an
ExceptionInInitializerError which stems from a
NullPointerException in Trace.getThreadInfo()
Any Ideas?
Profiler Version 0.5.33
JUnit 3.8.1
Regards
Frank
Logged In: YES
user_id=1212207
I found the same problem with NullPointerExceptions.
I found the problem was caused by the commons-lang.jar in
the WebLogic Domain overwriting commons-lang-2.1.jar
which was on my project classpath.
The solution that worked for me was to use the commons-
lang-2.1.jar in my WebLogic Domain. I updated the
startWeblogic.cmd to replect the use of this jar