Neeme Praks wrote:

ok, I reverted the change now.

however, I had to comment out commons-logging dependency in order for the tests to pass. if commons-logging is present in the classpath, the logs are redirected to avalon, otherwise commons-logging initialization is ignored.

if commons-logging is in the classpath and is initialized, I get a very mysterious NPE (see the attached test report)

it seems that there is a null child log category name passed to org.apache.log.Logger.getChildLogger() method. But this should not really happen, as the initial call to get that child logger comes from BeanUtils (org.apache.commons.beanutils.MethodUtils.<clinit>(MethodUtils.java:103)):
private static Log log = LogFactory.getLog(MethodUtils.class);


LogFactoryImpl converts that class argument into a String by using "clazz.getName()" and this should never return null...

So it remains mystery for me, how can there be a NPE...


It would if clazz is null. I believe that is the problem I ran into.

--

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
- Rich Cook


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Apache Excalibur Project -- URL: http://excalibur.apache.org/



Reply via email to