jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43632] NullPointerException in x:transform
Date Thu, 25 Sep 2008 19:11:32 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=43632


Nicolas FLINOIS <nicolas.flinois@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.flinois@gmail.com




--- Comment #6 from Nicolas FLINOIS <nicolas.flinois@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


Mime
View raw message