What steps will reproduce the problem?
1. set Thread.currentThread().setContextClassLoader(null)
2. call forPackage with a resource and an empty list of ClassLoaders, this will
cause forPackage to use the default classloaders
3. null pointer on line 54
What is the expected output? What do you see instead?
the problem is that in some cases the
Thread.currentThread().getContextClassLoader() can return null and forPackage
does not check for that and this causes an NPE
What version of the product are you using? On what operating system?
version 0.95, linux
Please provide any additional information below.
Original issue reported on code.google.com by jmleg...@gmail.com on 7 Nov 2012 at 12:01
Original issue reported on code.google.com by
jmleg...@gmail.com
on 7 Nov 2012 at 12:01