Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-1967

NullPointerException during transformation in my web application.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7
    • Labels:
      None
    • Environment:
      Windows 2000. Xalan Java 2.6.0

      Description

      The following error occurs in when I run my application.

      ----------------------------
      java.lang.NullPointerException
      at org.apache.xml.serializer.ToHTMLStream.processAttribute(ToHTMLStream.java:957)
      at org.apache.xml.serializer.ToHTMLStream.processAttributes(ToHTMLStream.java:1644)
      at org.apache.xml.serializer.ToHTMLStream.endElement(ToHTMLStream.java:883)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:708)
      ----------------------------

      My application is big, I cannot provide my application as testcase. However, I do know the reason for this failure. I will provide a patch that provide a more reasonable error message rather than NullPointerException.

        Attachments

        1. patch.1967.txt
          4 kB
          Brian Minchau
        2. Patch.txt
          5 kB
          Yash Talwar

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yashtalwar Yash Talwar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: