[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug xml/29853] New: NPE parsing certain plugin.xml files from Eclipse
From: |
bkonrath at redhat dot com |
Subject: |
[Bug xml/29853] New: NPE parsing certain plugin.xml files from Eclipse |
Date: |
15 Nov 2006 20:48:40 -0000 |
I get a NPE parsing certain plugin.xml files from Eclipse with libgcj from
FC-6:
% java PluginXMLHandler
org.xml.sax.SAXParseException
at gnu.xml.stream.SAXParser.parse(libgcj.so.7rh)
at javax.xml.parsers.SAXParser.parse(libgcj.so.7rh)
at javax.xml.parsers.SAXParser.parse(libgcj.so.7rh)
at PluginXMLHandler.main(PluginXMLHandler.java:31)
Caused by: java.lang.NullPointerException
at gnu.xml.dom.DomNode.dispatchEvent(libgcj.so.7rh)
at gnu.xml.dom.DomAttr.mutating(libgcj.so.7rh)
at gnu.xml.dom.DomAttr.setNodeValue(libgcj.so.7rh)
at gnu.xml.dom.DomElement.setAttribute(libgcj.so.7rh)
at PluginXMLHandler.startElement(PluginXMLHandler.java:44)
at gnu.xml.stream.SAXParser.parse(libgcj.so.7rh)
...3 more
%
I do not get this NPE with Sun's VM:
% jdk1.5.0_09/bin/java PluginXMLHandler
%
I believe this is a problem with Classpath HEAD as well. I will attach a test
xml file and small parsing app.
--
Summary: NPE parsing certain plugin.xml files from Eclipse
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: xml
AssignedTo: dog at gnu dot org
ReportedBy: bkonrath at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29853
- [Bug xml/29853] New: NPE parsing certain plugin.xml files from Eclipse,
bkonrath at redhat dot com <=