Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.7
-
Fix Version/s: 2.7
-
Component/s: Diagnostic-messages-resources, Xalan
-
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.