DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28549>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28549 XSLTC fails when compiling a stylesheet using java extension functions Summary: XSLTC fails when compiling a stylesheet using java extension functions Product: XalanJ2 Version: 2.5 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The stylesheet in question uses java extension functions. Also passed into the stylesheet is a HashMap which is used to pass through to the extension function method. The behavior is the same for both smart and xsltc. Here is the error. java.lang.NullPointerException org.apache.xalan.xsltc.compiler.CastExpr.translateDesynthesized(CastExpr.java:227) org.apache.xalan.xsltc.compiler.If.translate(If.java:99) org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java(Compiled Code)) org.apache.xalan.xsltc.compiler.Template.translate(Template.java:335) org.apache.xalan.xsltc.compiler.TopLevelElement.compile(TopLevelElement.java:56) org.apache.xalan.xsltc.compiler.Mode.compileNamedTemplate(Mode.java:572) org.apache.xalan.xsltc.compiler.Mode.compileTemplates(Mode.java:589) org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java(Compiled Code)) org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:580) org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:695) org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:335) org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:410) org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:720) org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl.newTemplates(SmartTransformerFactoryImpl.java:252) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
