Just for future reference:
I had to restart Karaf once again to get it up and running. For unknown
reasons the reflections bundle was only in state RESOLVED before and
additionally I had to install javassist. Despite the RESOLVED state before,
my own bundle was able to use the Reflections class but this failed
internally as described.
Having javassist and the ServiceMix(!) bundle for org.reflections in place
this is working:
new Reflections("my.package", MyClass.class.getClassLoader())
--
View this message in context:
http://karaf.922171.n3.nabble.com/NPE-with-org-reflections-tp4046252p4046297.html
Sent from the Karaf - User mailing list archive at Nabble.com.