You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2008/09/25 21:11:32 UTC
DO NOT REPLY [Bug 43632] NullPointerException in x:transform
https://issues.apache.org/bugzilla/show_bug.cgi?id=43632
Nicolas FLINOIS <ni...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nicolas.flinois@gmail.com
--- Comment #6 from Nicolas FLINOIS <ni...@gmail.com> 2008-09-25 12:11:31 PST ---
I faced exactly the same issue... then going to previous JSTL releases, and
running the same x:transform, with the same XML & XSL files. The exception was
different:
javax.xml.transform.TransformerConfigurationException: Impossible de compiler
la feuille de style
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown
Source)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(Unknown
Source)
....
The pb was the malformed XSL file... there was a BOM responsible for bad SAX
parsing, after a file edition. What I am sure is 't' can be null if SAX failed
to parse the XSL file (don't know if it is the same behavior with bad XML doc
parsing), because when I updated my jstl.jar and standard.jar to last 1.1
release afterwards, the previous exception
java.lang.NullPointerException
org.apache.taglibs.standard.tag.common.xml.TransformSupport.addParameter(TransformSupport.java:221).
went back.
I hope it helps,
Nicolas
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org