DO NOT REPLY [Bug 43632] NullPointerException in x:transform

[email protected]
Newsgroups gmane.comp.jakarta.taglibs.devel
Message-ID <[email protected]>
https://issues.apache.org/bugzilla/show_bug.cgi?id=43632


Nicolas FLINOIS <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #6 from Nicolas FLINOIS <[email protected]>  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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.