xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5609] - Global Variable Initialization across Multiple Transformations
Date Mon, 07 Jan 2002 15:28:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5609>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5609

Global Variable Initialization across Multiple Transformations

curcuru@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Normal                      |Major
           Keywords|                            |TestID
           Priority|Other                       |High



------- Additional Comments From curcuru@apache.org  2002-01-07 07:28 -------
OK, is it just me, or is re-using transformers totally broken today (07-Jan-02)?
TestID: Bugzilla5609.java
Running the new Bugzilla5609.java test the first transform runs fine but the 
second one always throws an exception:
javax.xml.transform.TransformerException: java.lang.NullPointerException
        at java.lang.Throwable.<init>(Throwable.java:96)
        at java.lang.Exception.<init>(Exception.java:44)
        at javax.xml.transform.TransformerException.<init>(TransformerException.
java:177)
        at org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
rImpl.java:1230)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:642)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1092)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1070)
        at Bugzilla5609.execute(Bugzilla5609.java:87)
        at org.apache.qetest.TestletImpl.main(TestletImpl.java:273)
---------
java.lang.NullPointerException
        at org.apache.xpath.objects.XNodeSet.dispatchCharactersEvents(XNodeSet.j
ava:262)
        at org.apache.xpath.Expression.executeCharsToContentHandler(Expression.j
ava:303)
        at org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:319)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2186)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
t.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2186)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
t.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2186)
        at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Tran
sformerImpl.java:2012)
        at org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
rImpl.java:1175)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:642)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1092)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1070)
        at Bugzilla5609.execute(Bugzilla5609.java:87)
This should have been caught by the smoketest API automation test; I'm not yet 
sure why it wasn't.

Mime
View raw message