You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Ma...@nokia.com on 2003/02/04 08:51:54 UTC
partially off-topic / JMX & XML
hi all,
sorry in advance for the 'little off topic' email, but i guessed
i could get answers from Apache guys thru this mailing list anyway.
i was 'exploring' the possibility to use an XML adapter together with JMX.
i entered a free text search and got a link to a jmx.xml project from apache.
does anyone knows something about that?
where i can find a 'link' that works?
thanx in advance and regards
marco
-----Original Message-----
From: ext Kevin Ross [mailto:Kevin.Ross@iVerticalLeap.com]
Sent: 03. February 2003 22:48
To: 'Jakarta Commons Users List'
Subject: RE: Digester + Logging + Ant NullPointerException
I'm now using the latest cvs code for logging, which seems to get me
past the earlier problem, but nonetheless, the problem is now in the
digester:
[java] [13:47:27.779-main][Digester][ERROR] - End event threw
exception
[java] java.lang.NullPointerException
[java] at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:248)
[java] at
org.apache.commons.digester.Digester.endElement(Digester.java:773)
[java] at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
[java] at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValid
ator.java:1480)
[java] at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentSc
anner.java:1809)
[java] at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatc
h(XMLDocumentScanner.java:1182)
[java] at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScan
ner.java:381)
[java] at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
[java] at
org.apache.commons.digester.Digester.parse(Digester.java:1222)
[java] at
org.apache.commons.digester.xmlrules.FromXmlRuleSet.addRuleInstances(Fro
mXmlRuleSet.java:140)
[java] at
org.apache.commons.digester.Digester.addRuleSet(Digester.java:1311)
It is now clear that there are classloading issues (after inspecting
digester code). I switched in a couple of places the use of the
Digester.getClassloader().loadClass() for Class.forName() and everything
works. Is this a bug? Is there an incompatibility with ANT? Problem
with 1.4.1?
Kevin Ross
-----Original Message-----
From: Kevin Ross [mailto:Kevin.Ross@iverticalleap.com]
Sent: Monday, February 03, 2003 1:13 PM
To: commons-user@jakarta.apache.org
Subject: Digester + Logging + Ant NullPointerException
I'm having yet another problem with logging. I figured someone else had
already uncovered this and discovered the issue (probably with my
environment).
Environment
Win XP Pro
Java 1.4.1_01
I'm also using Log4j 1.2.7.jar.
[java] org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException
[java] at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
[java] at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
[java] at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
[java] at
org.apache.commons.digester.Digester.<init>(Digester.java:281)
Any ideas?
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org