Just want to let you know when I use XSLTC to compile my xsl file, I got
these problems:
If I provide an invalid file name, no complaints;
With several files, it compiles with no errors, however, no class file
is generated;
With one file, I got a lot of following exceptions: (sorry I can't
attach the xsl file)
Hope these help you to fix something.
Thanks.
java.lang.NullPointerException
at
org.apache.xalan.xsltc.compiler.EqualityExpr.<init>(EqualityExpr.java:82)
at
org.apache.xalan.xsltc.compiler.CUP$XPathParser$actions.CUP$XPathParser$do_action(XPathParser.java:
2137)
at
org.apache.xalan.xsltc.compiler.XPathParser.do_action(XPathParser.java:736)
at java_cup.runtime.lr_parser.parse(lr_parser.java:568)
at
org.apache.xalan.xsltc.compiler.XPathParser.parse(XPathParser.java:835)
at
org.apache.xalan.xsltc.compiler.Parser.parseTopLevel(Parser.java:882)
at
org.apache.xalan.xsltc.compiler.Parser.parseExpression(Parser.java:845)
at
org.apache.xalan.xsltc.compiler.ApplyTemplates.parseContents(ApplyTemplates.java:104)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at org.apache.xalan.xsltc.compiler.If.parseContents(If.java:118)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.LiteralElement.parseContents(LiteralElement.java:321)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.LiteralElement.parseContents(LiteralElement.java:321)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.Template.parseContents(Template.java:260)
at
org.apache.xalan.xsltc.compiler.Stylesheet.parseOwnChildren(Stylesheet.java:342)
at
org.apache.xalan.xsltc.compiler.Stylesheet.parseContents(Stylesheet.java:314)
at org.apache.xalan.xsltc.compiler.Parser.createAST(Parser.java:343)
at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:315)
at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:231)
at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:350)
at org.apache.xalan.xsltc.compiler.XSLTC.main(XSLTC.java:784)
java.lang.NullPointerException
at
org.apache.xalan.xsltc.compiler.FilterParentPath.<init>(FilterParentPath.java:77)
at
org.apache.xalan.xsltc.compiler.CUP$XPathParser$actions.CUP$XPathParser$do_action(XPathParser.java:
1876)
at
org.apache.xalan.xsltc.compiler.XPathParser.do_action(XPathParser.java:736)
at java_cup.runtime.lr_parser.parse(lr_parser.java:568)
at
org.apache.xalan.xsltc.compiler.XPathParser.parse(XPathParser.java:835)
at
org.apache.xalan.xsltc.compiler.Parser.parseTopLevel(Parser.java:882)
at
org.apache.xalan.xsltc.compiler.Parser.parseExpression(Parser.java:845)
at
org.apache.xalan.xsltc.compiler.ApplyTemplates.parseContents(ApplyTemplates.java:104)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.LiteralElement.parseContents(LiteralElement.java:321)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.LiteralElement.parseContents(LiteralElement.java:321)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.LiteralElement.parseContents(LiteralElement.java:321)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.LiteralElement.parseContents(LiteralElement.java:321)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.Template.parseContents(Template.java:260)
at
org.apache.xalan.xsltc.compiler.Stylesheet.parseOwnChildren(Stylesheet.java:342)
at
org.apache.xalan.xsltc.compiler.Stylesheet.parseContents(Stylesheet.java:314)
at org.apache.xalan.xsltc.compiler.Parser.createAST(Parser.java:343)
at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:315)
at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:231)
at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:350)
at org.apache.xalan.xsltc.compiler.XSLTC.main(XSLTC.java:784)
java.lang.NullPointerException
at
org.apache.xalan.xsltc.compiler.FilterParentPath.<init>(FilterParentPath.java:77)
at
org.apache.xalan.xsltc.compiler.CUP$XPathParser$actions.CUP$XPathParser$do_action(XPathParser.java:
1876)
at
org.apache.xalan.xsltc.compiler.XPathParser.do_action(XPathParser.java:736)
at java_cup.runtime.lr_parser.parse(lr_parser.java:568)
at
org.apache.xalan.xsltc.compiler.XPathParser.parse(XPathParser.java:835)
at
org.apache.xalan.xsltc.compiler.Parser.parseTopLevel(Parser.java:882)
at
org.apache.xalan.xsltc.compiler.Parser.parseExpression(Parser.java:845)
at
org.apache.xalan.xsltc.compiler.ApplyTemplates.parseContents(ApplyTemplates.java:104)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.LiteralElement.parseContents(LiteralElement.java:321)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.LiteralElement.parseContents(LiteralElement.java:321)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.LiteralElement.parseContents(LiteralElement.java:321)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.LiteralElement.parseContents(LiteralElement.java:321)
at
org.apache.xalan.xsltc.compiler.SyntaxTreeNode.parseChildren(SyntaxTreeNode.java:293)
at
org.apache.xalan.xsltc.compiler.Template.parseContents(Template.java:260)
at
org.apache.xalan.xsltc.compiler.Stylesheet.parseOwnChildren(Stylesheet.java:342)
at
org.apache.xalan.xsltc.compiler.Stylesheet.parseContents(Stylesheet.java:314)
at org.apache.xalan.xsltc.compiler.Parser.createAST(Parser.java:343)
at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:315)
at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:231)
at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:350)
at org.apache.xalan.xsltc.compiler.XSLTC.main(XSLTC.java:784)