javax.xml.transform.TransformerException: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2341) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)

Apereo Issues | Amos Gouaux | 1 decade ago
  1. 0

    [UBCWEBMAIL-24] An email full of HTML can crash webmail - Apereo Issues

    jasig.org | 11 months ago
    javax.xml.transform.TransformerException: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2341) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
  2. 0

    I just tried to open an email spam from Sun, and it produced the following exception: ; SystemID: file:/opt/uPortal/jakarta-slide-2.1M1-tomcat-5.0.19/webapps/uPortal/WEB-INF/classes/ca/ubc/itservices/channels/webmail/displayMessage.xsl; Line#: 291; Column#: 35 javax.xml.transform.TransformerException: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2341) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:140) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2202) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1276) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:673) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1192) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1170) at org.jasig.portal.utils.XSLT.transform(XSLT.java:299) at ca.ubc.itservices.channels.webmail.CWebmail.renderXML(CWebmail.java:808) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:498) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) Caused by: java.lang.NullPointerException at org.apache.xml.serializer.ToHTMLSAXHandler.comment(ToHTMLSAXHandler.java:360) at org.apache.xpath.objects.XString.dispatchAsComment(XString.java:287) at org.apache.xml.dtm.ref.DTMTreeWalker.startNode(DTMTreeWalker.java:233) at org.apache.xalan.transformer.TreeWalker2Result.startNode(TreeWalker2Result.java:144) at org.apache.xml.dtm.ref.DTMTreeWalker.traverse(DTMTreeWalker.java:114) at org.apache.xalan.transformer.TreeWalker2Result.traverse(TreeWalker2Result.java:72) at org.apache.xalan.templates.ElemCopyOf.execute(ElemCopyOf.java:185) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) ... 25 more --------- java.lang.NullPointerException at org.apache.xml.serializer.ToHTMLSAXHandler.comment(ToHTMLSAXHandler.java:360) at org.apache.xpath.objects.XString.dispatchAsComment(XString.java:287) at org.apache.xml.dtm.ref.DTMTreeWalker.startNode(DTMTreeWalker.java:233) at org.apache.xalan.transformer.TreeWalker2Result.startNode(TreeWalker2Result.java:144) at org.apache.xml.dtm.ref.DTMTreeWalker.traverse(DTMTreeWalker.java:114) at org.apache.xalan.transformer.TreeWalker2Result.traverse(TreeWalker2Result.java:72) at org.apache.xalan.templates.ElemCopyOf.execute(ElemCopyOf.java:185) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:140) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2202) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1276) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:673) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1192) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1170) at org.jasig.portal.utils.XSLT.transform(XSLT.java:299) at ca.ubc.itservices.channels.webmail.CWebmail.renderXML(CWebmail.java:808) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:498) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) If anybody is interested, I can bounce the message to them.

    Apereo Issues | 1 decade ago | Amos Gouaux
    javax.xml.transform.TransformerException: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2341) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
  3. 0

    I just tried to open an email spam from Sun, and it produced the following exception: ; SystemID: file:/opt/uPortal/jakarta-slide-2.1M1-tomcat-5.0.19/webapps/uPortal/WEB-INF/classes/ca/ubc/itservices/channels/webmail/displayMessage.xsl; Line#: 291; Column#: 35 javax.xml.transform.TransformerException: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2341) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:140) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2202) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1276) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:673) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1192) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1170) at org.jasig.portal.utils.XSLT.transform(XSLT.java:299) at ca.ubc.itservices.channels.webmail.CWebmail.renderXML(CWebmail.java:808) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:498) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) Caused by: java.lang.NullPointerException at org.apache.xml.serializer.ToHTMLSAXHandler.comment(ToHTMLSAXHandler.java:360) at org.apache.xpath.objects.XString.dispatchAsComment(XString.java:287) at org.apache.xml.dtm.ref.DTMTreeWalker.startNode(DTMTreeWalker.java:233) at org.apache.xalan.transformer.TreeWalker2Result.startNode(TreeWalker2Result.java:144) at org.apache.xml.dtm.ref.DTMTreeWalker.traverse(DTMTreeWalker.java:114) at org.apache.xalan.transformer.TreeWalker2Result.traverse(TreeWalker2Result.java:72) at org.apache.xalan.templates.ElemCopyOf.execute(ElemCopyOf.java:185) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) ... 25 more --------- java.lang.NullPointerException at org.apache.xml.serializer.ToHTMLSAXHandler.comment(ToHTMLSAXHandler.java:360) at org.apache.xpath.objects.XString.dispatchAsComment(XString.java:287) at org.apache.xml.dtm.ref.DTMTreeWalker.startNode(DTMTreeWalker.java:233) at org.apache.xalan.transformer.TreeWalker2Result.startNode(TreeWalker2Result.java:144) at org.apache.xml.dtm.ref.DTMTreeWalker.traverse(DTMTreeWalker.java:114) at org.apache.xalan.transformer.TreeWalker2Result.traverse(TreeWalker2Result.java:72) at org.apache.xalan.templates.ElemCopyOf.execute(ElemCopyOf.java:185) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:140) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2202) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1276) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:673) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1192) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1170) at org.jasig.portal.utils.XSLT.transform(XSLT.java:299) at ca.ubc.itservices.channels.webmail.CWebmail.renderXML(CWebmail.java:808) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:498) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) If anybody is interested, I can bounce the message to them.

    Apereo Issues | 1 decade ago | Amos Gouaux
    javax.xml.transform.TransformerException: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2341) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    xsl:if test for null string giving TransformerException | Coding Forums

    thecodingforums.com | 11 months ago
    javax.xml.transform.TransformerException: Unknown error in XPath
  6. 0

    Re: NullPointerException

    xml-xalan-j-users | 10 years ago | cbowditch
    javax.xml.transform.TransformerException: java.lang.NullPointerException > at > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr > ansformerImpl.java:2341) > at > org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:393 > ) > at > org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate. > java:247) > at > org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemFor > Each.java:420) > at > org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:259) > at > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr > ansformerImpl.java:2336) > at > org.apache.xalan.templates.ElemElement.constructNode(ElemElement.java > :338) > at > org.apache.xalan.templates.ElemElement.execute(ElemElement.java:287) > at > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr > ansformerImpl.java:2336) > at > org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:393 > ) > at > org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate. > java:247) > at > org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes( > ElemApplyTemplates.java:395) > at > org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla > tes.java:177) > at > org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes( > ElemApplyTemplates.java:395) > at > org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla > tes.java:177) > at > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr > ansformerImpl.java:2336) > at > org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:140) > at > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr > ansformerImpl.java:2336) > at > org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul > t.java:682) > at > org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes( > ElemApplyTemplates.java:395) > at > org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla > tes.java:177) > at > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr > ansformerImpl.java:2336) > at > org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul > t.java:682) > at > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr > ansformerImpl.java:2336) > at > org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul > t.java:682) > at > org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes( > ElemApplyTemplates.java:395) > at > org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla > tes.java:177) > at > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr > ansformerImpl.java:2336) > at > org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul > t.java:682) > at > org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes( > ElemApplyTemplates.java:395) > at > org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla > tes.java:177) > at > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr > ansformerImpl.java:2336) > at > org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul > t.java:682) > at > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr > ansformerImpl.java:2336) > at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:161)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.transform.TransformerException

      java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2341) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)

      at org.apache.xalan.templates.ElemChoose.execute()
    2. Xalan Java
      ElemChoose.execute
      1. org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:140)
      1 frame