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

NPE in TransformerFactoryImpl.newTransformerHandler

           Summary: NPE in TransformerFactoryImpl.newTransformerHandler
           Product: XalanJ2
           Version: 2.4Dx
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I'm using Xalan 2.4D1 inside of Cocoon 2.0.3. XSLTC works wonderfully on all of
my stylesheets except for the most complex.

Two minor issues:

1) java.lang.NullPointerException
        at
org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformerHandler(TransformerFactoryImpl.java:593)

The Templates object returned from
TransformerFactory.getTemplatesHandler.getTemplates is null, presumably from a
failed compilation, TemplatesHandlerImpl line 178 where the exception is
silently dropped. Should that maybe be re-thrown / reported somewhere?

2) Lines 214 and 218 of TemplatesImpl, should the + in the ErrorMsg constructor
be a comma to pass both items as argument to the constructor?

Otherwise *EXCELLENT* work. Much improved over a few months ago :)

Reply via email to