[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

NullPointerException with JavaScript in xsl

Subject: NullPointerException with JavaScript in xsl
From: Angeshwar Deepak <angeshwar@xxxxxxxxx>
Date: Fri, 4 Jun 2004 00:47:21 -0700 (PDT)
caused by java.lang.nullpointerexception
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.