harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib][xml] Update version of Xerces
Date Fri, 05 Jan 2007 15:55:08 GMT
Came back to do this again yesterday, and the failure below had
magically disappeared for me (testing on Windows).  I assumed
that it had been fixed by one of the other patches we applied in the
meantime so committed the update to use Xerces 2.9.0 in r492942, but one
of the continuous build systems failed (the other passed ok), so I have
rolled it back in r493054.

If I can get it to fail reliably on my machine again I'll grab a dump to
see what is happening.


Tim Ellison wrote:
> Nathan Beyer wrote:
>> There are new XML Commons that are needed for 2.9.0 (xml-apis). As an
>> aside to this, the XML Commons code probably needs to be pulled out of
>> our "xerces" OSGi module, as it's common to both "xerces" and "xalan".
>> BTW - I've been attempting to help the Xerces team upload the latest
>> JARs to the Maven central repo (repo1.maven.org), but that's not
>> moving along very quickly. I'm just mentioning this if you can't find
>> the JARs on those servers.
> Ack -- thanks for the note.  I'm pulling down the Xerces binary JAR from
> the Apache servers and extracting the xml-apis, xercesImpl, and resolver
> JARs at the moment.  However, I've not been able to figure out the cause
> of a consistent failure I see locally in the Harmony test suites after
> upgrading.  It doesn't help that there is no debug info in the Xerces
> class files, and when I recompile the problem seems to go away (or at
> least be intermittent).  I've also failed to reproduce on simpler tests.
> I suspect that we have fouled earlier and this is a downstream failure,
> but I haven't been able to track it down.  FYI here's the stacktrace:
> java.lang.NullPointerException
> org.apache.xerces.dom.NamedNodeMapImpl.findNamePoint(Unknown Source)
> org.apache.xerces.dom.AttributeMap.setNamedItem(Unknown Source)
> org.apache.xerces.dom.DeferredElementImpl.synchronizeData(Unknown Source)
> org.apache.xerces.dom.ElementImpl.getTagName(Unknown Source)
> org.apache.xerces.dom.DeepNodeListImpl.nextMatchingElementAfter(Unknown
> Source)
> org.apache.xerces.dom.DeepNodeListImpl.item(Unknown Source)
> org.apache.xerces.dom.DeepNodeListImpl.getLength(Unknown Source)
> java.util.Properties.loadFromXML(Properties.java:566)
> tests.api.java.util.PropertiesTest.test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String(PropertiesTest.java:398)
> java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Regards,
> Tim

View raw message