• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

OracleXMLSave Null Pointer Exception  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am newbie in XML/JSP and I have a problem with web-server-side processing of XML sent by a web-client. Client is IE and accepts XML-data island within HTML, shows XML data applying XSL, modifies XML data, and finally submits modified XML to the web-server. Submitted XML incorporates a schema section and a data section. The problem is that the following server side processing (by JSP) of submitted XML:
if (request.getParameter("xmlData") != null) {
OracleXMLSave save = new OracleXMLSave (conn, tbl_name);
save.updateXML(request.getParameter("XMLdata"));
...
}
generates Exception:
java.lang.NullPointerException: at oracle.xml.sql.dml.OracleXMLSave.updateXML(OracleXMLSave.java:1443)
Could you help me please, what I am doing wrong. Thanks in advance.
 
Always look on the bright side of life. At least this ad is really tiny:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!