Atomikos Forum |
|
I just updated to the newly release 3.3 and noticed that my OSGi based application was now failing with a NullPointerException.
I traced the problem down to the ClassLoaderHelper, which when it falls back to doing a Class.forName() to load a class, isn't assigning it to clazz, so the method just returns null. Heres a patch: --- ./sources/com/atomikos/util/ClassLoadingHelper.java 2008-05-21 13:47:39.000000000 +1200 +++ ./sources/com/atomikos/util/ClassLoadingHelper.java~ 2008-05-14 18:34:00.000000000 +1200 @@ -53,7 +53,7 @@ try { clazz = Thread.currentThread().getContextClassLoader().loadClass( className ); } catch ( ClassNotFoundException nf ) { - clazz = Class.forName ( className ); + Class.forName ( className ); } return clazz; }
Cheers. Is there a case number I can track at all? And do you have any ETA for when a new release might be made?
|