DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16457>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16457 NullPointerException in LogFactory ------- Additional Comments From [EMAIL PROTECTED] 2003-01-30 21:19 ------- okay, getCachedFactory() was fixed in the new source, although I copied my original post right out of the source code view (right out of the cvs repository), but I didn't see that updated code until just now. No matter, the bigger problem (and yet more subtle) that I had in mind is still there in getFactory(): // Fourth, try the fallback implementation class if (factory == null) { factory = newFactory(FACTORY_DEFAULT, LogFactory.class.getClassLoader()); } but LogFactory.class.getClassLoader() returns null. I've suggested (and tested on my system) replacing 'LogFactory.class.getClassLoader()' with 'contextClassLoader' since that was defined earlier and used in every other place in the method. This problem doesn't occur in standalone apps or in a lot of other cases because it doesn't get to this fallback implementation class, but in my case it gets there. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
