commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ostrowski, Steven" <steven.ostrow...@lmco.com>
Subject commons-logging in Applet Errors
Date Thu, 13 Jun 2002 14:35:11 GMT
Hello,

	I searched the archive for posts regarding errors in commons-logging
when being used inside an applet. I was wondering if there is a workaround
for this, a way to disable it, or if there is a design decision why
commons-logging should not be used inside an applet.
	I'm trying to send a SOAPMessage by a standalone client applet to a
URLEndpoint (the web server). This seems like a valid thing to do in an
applet. I'm using WSDP 1.0. When I call getConnection from the
SOAPConnectionFactory, it uses the commons-logging API. My error stack trace
is shown below, with some unnecessary details left out:

java.lang.ExceptionInInitializerError
        at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory.createConnec
tion(HttpSOAPConnectionFactory.java:25)
        at
com.lmco.eldp.readisim.model.SimulationControlModel.sendCreateEntity(Simulat
ionControlModel.java:370)
        at
com.lmco.eldp.readisim.model.SimulationControlModel.setHost(SimulationContro
lModel.java:196)
        at
com.lmco.eldp.readisim.controller.IntroPanelController.actionPerformed(Intro
PanelController.java:136)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:509)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:285)
        at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.<clinit>(HttpSOAPCo
nnection.java:37)
        ... 26 more
Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException
        at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:404)
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:502)
        ... 28 more
Caused by: java.lang.NullPointerException
        at
sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:105)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
        at
org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java
:434)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:398)
        ... 29 more

Also, if this is the wrong mailing list, sorry for the mispost. What list
should I send this question to?

Thank You,
Steven Ostrowski 

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message