[kaffe] more kjc problems?

Helmer Krämer hkraemer at freenet.de
Wed Jul 30 03:04:02 PDT 2003


Hi,

this morning, I wanted to check whether eclipse is still
running with kaffe (rt.jar compiled with kjc). However,
I got this exception (eclipse specific stuff skipped):

java.lang.NullPointerException
   at gnu.xml.dom.DomNode.dispatchEvent (DomNode.java:1408)
   at gnu.xml.dom.DomNode.insertionEvent (DomNode.java:438)
   at gnu.xml.dom.DomNode.appendChild (DomNode.java:541)
   at gnu.xml.dom.DomAttr.setNodeValue (DomAttr.java:209)
   at gnu.xml.dom.DomElement.setAttribute (DomElement.java:235)
   at gnu.xml.pipeline.DomConsumer$Handler.populateAttributes (DomConsumer.java:668)
   at gnu.xml.pipeline.DomConsumer$Handler.startElement (DomConsumer.java:604)
   at gnu.xml.dom.Consumer$Backdoor.startElement (Consumer.java:201)
   at gnu.xml.aelfred2.SAXDriver.startElement (SAXDriver.java:845)
   at gnu.xml.aelfred2.XmlParser.parseElement (XmlParser.java:1065)
   at gnu.xml.aelfred2.XmlParser.parseDocument (XmlParser.java:419)
   at gnu.xml.aelfred2.XmlParser.doParse (XmlParser.java:170)
   at gnu.xml.aelfred2.SAXDriver.parse (SAXDriver.java:335)
   at gnu.xml.aelfred2.XmlReader.parse (XmlReader.java:303)
   at gnu.xml.dom.JAXPFactory$JAXPBuilder.parse (JAXPFactory.java:186)

Funny thing is that the offending line in DomNode.java
contains nothing but this:

dispatchDataLock = false;

Afterwards I recompiled kaffe's rt.jar using jikes and was
again able to run eclipse just fine, so I assume that the
problem is indeed kjc.

Looking at the method I'd say that it seems to be the same
Problem we had with the ShutdownHookTest. Guilhem, do have
an idea what could be going wrong / where I could start to
fix this?

Greetings,
Helmer




More information about the kaffe mailing list