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=26086>.
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=26086

[PATCH] Dereferencing null TextEvent() argument in JXTemplateGenerator

           Summary: [PATCH] Dereferencing null TextEvent() argument in
                    JXTemplateGenerator
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: sitemap components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Some pipelines containing jx transformer crash on NullPointerException:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
java.lang.RuntimeException: java.lang.NullPointerException


There is a missing "this" in TextEvent constructor code, which results in 
dereferencing locator argument which may be null at that point (unlike 
this.locator field). The bug appears in certain piping combination (like piping 
some xsl transformations into jx transformer).

Reply via email to