Darn. It is excalibur-logger-1.1 that has no source in the archive. I was able to view it in CVS though. The NullPointerException is being explicitly thrown because a log target has been misconfigured. This looks like it would be caused when a category tries to reference a log-target with an id-ref that doesn't match any defined log targets.

Ralph

At 6/10/2004 12:06 AM, Ralph Goers wrote:
You know, I really wanted to debug this for you, but once again I am foiled by Excalibur. It turns out the source archives of excalibur-logger-1.2.2 (the version used by Cocoon 2.1.5) have no java source in them.

Ralph

At 6/9/2004 06:15 PM, you wrote:
Ever since upgrading to Cocoon 2.1.5 I have been getting this error in my Tomcat logs.

Logging Error: Could not set up Cocoon Logger, will use screen instead
java.lang.NullPointerException: logTargets[ 0 ]
at org.apache.log.Logger.setLogTargets(Logger.java:435)
at org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupLoggers(LogKitLoggerManager.java:517)
at org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLoggerManager.java:407)
at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:240)
at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:824)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:306)


   etc, etc,

This is using Tomcat 5.

I have seen from searches that this has been an error in Excalibur Logger in previous releases.

Any suggestions?

Joe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to