You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2008/11/04 21:29:35 UTC
Re: TOMCAT 6 and FOP
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David,
David Venus wrote:
> 28: Transformer transformer = factory.newTransformer(new StreamSource(new
> java.io.StringReader(request.getParameter("template"))));
> java.lang.NullPointerException
> java.io.StringReader.<init>(StringReader.java:33)
> org.apache.jsp.apex_005ffop_jsp._jspService(apex_005ffop_jsp.java:92)
Looks like request.getParameter("template") is returning null. Your JSP
should sanity-check (and taint-check!) all data supplied by the user
before use.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkQsK8ACgkQ9CaO5/Lv0PCaXgCeJI2tW0Ryo6BJaSgvNNtyRXf6
P4YAnA31MuUSTNYZZS1Lud0RxUsNOQm2
=9Fld
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org