I'm creating a component which must live inside an applet (java2 plugin vm).

The code is going to parse an xml file, and create objects of it. 
Therefore I have taken in use the Digester component.

Still I encounter some trouble, as the Digester is dependent on the 
Logger component, which appearently dislikes living inside an applet.

Here's the stack trace, until my classes (I do not use any logger 
classes in my code, nor do I try to configure anything):

org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException
     at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:494)
     at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:285)
     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:400)
     at org.apache.commons.digester.Digester.<init>(Digester.java:310)/

It runs smoothly in an application context, but in an applet it fails to 
configure itself (ref. javadoc on LogConfigurationException).

Anyone who can help, please?

Kyrre Lugg


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

Reply via email to