[jdom-interest] Can you help me !!!
Alex Rosen
arosen at silverstream.com
Wed Sep 12 07:28:30 PDT 2001
(1) Which version of JDOM are you using? Have you tried the latest code
that's in CVS?
(2) Have you tried taking a look at line 298 of DOMBuilder of the
version you have to see what's wrong? Are you sure the arguments you're
passing in are not null?
(3) Unless you already have a DOM document that you're trying to convert
to JDOM, you should be using SAXBuilder instead of DOMBuilder.
Alex
-----Original Message-----
From: jdom-interest-admin at jdom.org
[mailto:jdom-interest-admin at jdom.org]On Behalf Of Ravindra Reddy
Sent: Tuesday, September 11, 2001 9:35 AM
To: jdom-interest at jdom.org
Subject: [jdom-interest] Can you help me !!!
Hi,
While executing my class which is having JDOM parser code for reading
XML file, it is throwing JDOMException.
Error Message form the server window which is thrown from the servlet :
===================================================
org.jdom.JDOMException: Error in building from stream: null
at org.jdom.input.DOMBuilder.build(DOMBuilder.java:298)
at
GetVehicleProperties.getDocument(GetVehicleProperties.java:462)
at GetVehicleProperties.service(GetVehicleProperties.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:597)
at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java
:257)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
at java.lang.Thread.run(Thread.java:484)
Root cause: java.lang.NoSuchMethodError
at org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:403)
at org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:398)
at org.jdom.input.DOMBuilder.build(DOMBuilder.java:281)
at
GetVehicleProperties.getDocument(GetVehicleProperties.java:462)
at GetVehicleProperties.service(GetVehicleProperties.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:597)
at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java
:257)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
at java.lang.Thread.run(Thread.java:484)
Environment:
I placed jdom.jar and xerces.jar in the lib directory of jakarta-tomcat.
Jdk1.3 version installed in my system
Jre plugin also installed for some other purpose.
Note :But same xml class is executing at the console.
Can any body help me in this regard.
Thanks in advance.
Ravindra.
*********************************************************
Disclaimer
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20010912/d8479f6c/attachment.htm
More information about the jdom-interest
mailing list