<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>



<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=625432614-12092001>(1) 
Which version of JDOM are you using? Have you tried the latest code that's in 
CVS?</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=625432614-12092001>(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?</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=625432614-12092001>(3) 
Unless you already have a DOM document that you're trying to convert to JDOM, 
you should be using SAXBuilder instead of DOMBuilder.</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=625432614-12092001>Alex</SPAN></FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> jdom-interest-admin@jdom.org 
  [mailto:jdom-interest-admin@jdom.org]<B>On Behalf Of </B>Ravindra 
  Reddy<BR><B>Sent:</B> Tuesday, September 11, 2001 9:35 AM<BR><B>To:</B> 
  jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest] Can you help me 
  !!!<BR><BR></DIV></FONT>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>While executing my class which is having JDOM 
  parser code for reading XML file, it is throwing JDOMException. </FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Error Message form the server window which is 
  thrown from the servlet :</FONT></DIV>
  <DIV><FONT face=Arial 
  size=2>===================================================</FONT></DIV>
  <DIV><FONT face=Arial size=2>org.jdom.JDOMException: Error in building from 
  stream: null<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.jdom.input.DOMBuilder.build(DOMBuilder.java:298)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  GetVehicleProperties.getDocument(GetVehicleProperties.java:462)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  GetVehicleProperties.service(GetVehicleProperties.java:83)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:503)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:597)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java<BR>:257)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:503)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.core.ContextManager.service(ContextManager.java:559<BR>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio<BR>n(HttpConnectionHandler.java:160)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j<BR>ava:338)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at java.lang.Thread.run(Thread.java:484)<BR>Root cause: 
  java.lang.NoSuchMethodError<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:403)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:398)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.jdom.input.DOMBuilder.build(DOMBuilder.java:281)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  GetVehicleProperties.getDocument(GetVehicleProperties.java:462)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  GetVehicleProperties.service(GetVehicleProperties.java:83)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:503)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:597)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java<BR>:257)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:503)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.core.ContextManager.service(ContextManager.java:559<BR>)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio<BR>n(HttpConnectionHandler.java:160)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j<BR>ava:338)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at java.lang.Thread.run(Thread.java:484)<BR></DIV></FONT>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Environment:</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I placed&nbsp;jdom.jar and xerces.jar in the lib 
  directory of jakarta-tomcat. </FONT></DIV>
  <DIV><FONT face=Arial size=2>Jdk1.3 version installed in my 
system</FONT></DIV>
  <DIV><FONT face=Arial size=2>Jre plugin also installed for some other 
  purpose.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Note :But same&nbsp;xml class is executing at the 
  console.&nbsp;</FONT>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Can any body help me in this regard.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
  <DIV><FONT face=Arial size=2>Ravindra.</FONT></DIV>
  <DIV>&nbsp;</DIV><BR>*********************************************************<BR>Disclaimer<BR><BR>This 
  message (including any attachments) contains <BR>confidential information 
  intended for a specific <BR>individual and purpose, and is protected by law. 
  <BR>If you are not the intended recipient, you should <BR>delete this message 
  and are hereby notified that <BR>any disclosure, copying, or distribution of 
  this<BR>message, or the taking of any action based on it, <BR>is strictly 
  prohibited.<BR><BR>*********************************************************<BR>Visit 
  us at http://www.mahindrabt.com<BR><BR></BLOCKQUOTE></BODY></HTML>