Subject: NullPointerException with JavaScript in xsl From: Angeshwar Deepak <angeshwar@xxxxxxxxx> Date: Fri, 4 Jun 2004 00:47:21 -0700 (PDT) |
Hi, I am trying to use some custom JavaScript functions in an XSL stylesheet. I have been unable to get it to work at all. I have downloaded Xalan 2.6.0 and put xalan.jar, xercesImpl.jar, and xml-apis.jar in <java-root>\lib\endorsed. I placed bsf.jar from Xalan in the classpath along with js.jar from Rhino 1_5R5. I am running java 1.4.1_02. Executing a transform from the command line gives me: XSLT Error (javax.xml.transform.TransformerException): java.lang.NullPointerException Some interesting things in the stack trace are: Caused by: com.ibm.bsf.BSFException: JavaScript Error: Internal Error: java.lang.IllegalArgumentException: Line number can not be negative:-1 Caused by: java.lang.reflect.InvocationTargetException Caused by: javax.xml.transform.TransformerException: Could not compile extension Any help regarding this matter Thanks, with regards, Deepak. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Use of global variable an, Vivek Shinde | Thread | Re: [xsl] Large transforms (was Re:, Kevin Jones |
RE: [xsl] Use of global variable an, Vivek Shinde | Date | Re: [xsl] Large transforms (was Re:, Kevin Jones |
Month |