Hi,

I get this when doing an XSLT transformation [1], the XSLT is stored in an
external GREG. I just checked the code at "XSLTMediator.java", where the
exception is coming, and there is this code,

        try {
            // perform transformation
            Transformer transformer = null;
            try {
                transformer = cachedTemplates.newTransformer();
            } catch (NullPointerException ex) {
                handleException("Unable to create Transformer using cached
template", ex, synCtx);
            }

Why are we catching an NPE? .. it's like we are expecting it to happen.

[1] http://www.pastie.org/2143418

Cheers,
Anjana.

-- 
*Anjana Fernando*
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to