Bugs item #1168647, was opened at 2005-03-22 21:42
Message generated for change (Comment added) made by maartenc
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1168647&group_id=16035

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error in org.dom4j.DocumentFactory

Initial Comment:
submitter: [EMAIL PROTECTED]

I get this stack-trace in an SunSolaris environment, with 
a Sun 1.2.2 JDK, causing an unexcepcted termination of 
the whole JVM/Servlet engine (eg. real nasty bug):

[1] org.dom4j.DocumentFactory.
createNamespace(DocumentFactory.java:161)
[2]org.dom4j.tree.NamespaceStack.
createNamespace(NamespaceStack.java:286)
[3] org.dom4j.tree.NamespaceStack.
getQName(NamespaceStack.java:167)
[4]org.dom4j.io.SAXContentHandler.
startElement(SAXContentHandler.java:221)
[5]org.apache.xerces.parsers.SAXParser.
startElement(SAXParser.java:1328)
[6]org.apache.xerces.validators.common.XMLValidator.
callStartElement(XMLValidator.java:1207)
[7]org.apache.xerces.framework.
XMLDocumentScanner$ContentDispatcher.
dispatch(XMLDocumentScanner.java:921)
[8]org.apache.xerces.framework.XMLDocumentScanner.
parseSome(XMLDocumentScanner.java:381)
[9] org.apache.xerces.framework.XMLParser.
parse(XMLParser.java:1098)
[10] org.dom4j.io.SAXReader.read(SAXReader.java:334)
[11] org.dom4j.DocumentHelper.
parseText(DocumentHelper.java:216)
[12]<cut due to customer privacy reasons>
[13]<cut due to customer privacy reasons>
[14] java.lang.reflect.Method.invoke(Native Method)
[15]atg.droplet.DropletDescriptor.
getPropertyValue(DropletDescriptor.java:365)
[16]atg.droplet.DropletDescriptor.
getPropertyValue(DropletDescriptor.java:580)
[17]<cut due to customer privacy reasons>
[18]atg.servlet.jsp.DynamoJspPageServlet.
service(DynamoJspPageServlet.java:137)
[19] atg.servlet.DynamoPageServlet.
service(DynamoPageServlet.java:112)
[20]atg.servlet.pagecompile.PageCompileServlet.
service(PageCompileServlet.java:157)
[21] atg.servlet.DynamoServlet.service(DynamoServlet.
java:114)
[22] atg.servlet.ServletUtil.embed(ServletUtil.java:333)
[23]<cut due to customer privacy reasons>
[24] atg.servlet.DynamoPageServlet.
service(DynamoPageServlet.java:112)
[25]atg.servlet.DynamoHttpServletRequest.
serviceLocalParameter(DynamoHttpServletRequest.java:
3547)
[26] atg.droplet.IsEmpty.service(IsEmpty.java:102)
[27] atg.servlet.DynamoServlet.service(DynamoServlet.
java:114)
[28]atg.servlet.pagecompile.PageSubServlet.
serviceServlet(PageSubServlet.java:185)
[29]atg.servlet.pagecompile.PageSubServlet.
serviceByName(PageSubServlet.java:153)
[30]<cut due to customer privacy reasons>
[31] atg.servlet.DynamoPageServlet.
service(DynamoPageServlet.java:112)
.... remainder of stack truncated ...
-------------------


the call in my application starts at [13] which uses the 
DOMWriter to get a org.w3c.dom.Document which calls 
another method in my app at [12] which uses org.dom4j.
DocumentHelper.parseText(java.lang.String)

The bug does not appear in a windows-environment with 
1.2.2 or 1.4.2_07 JDK, running in the same servlet 
engine, with the same underlying libraries (!)

The only possible difference I can think of is the system-
property file.encoding (set to ISO-8859-1 on windows) - 
but it should not lead to a complete termination of the 
JVM anyhow.

----------------------------------------------------------------------

>Comment By: Maarten Coene (maartenc)
Date: 2005-03-22 21:55

Message:
Logged In: YES 
user_id=178745

David,

what is the exception you are getting? What comes at 
location [0] of the stacktrace?

regards,
Maarten

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1168647&group_id=16035


-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
dom4j-dev mailing list
dom4j-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to