tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: TOMCAT 6 and FOP
Date Tue, 04 Nov 2008 20:29:35 GMT
-----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


Mime
View raw message