All,

I've gone through the archive trying to find the solution to this one, and spent some 
time in th e irc room hunting.  Hopefully someone here can help me out.

OS: Linux and Solaris
jdk: 1.4.1_01
tomcat: 4.1.12 (but also tested with 4.1.18 and 4.1.21 beta)

I have a jsp file (that is valid and has already been tested) that I'm trying to 
compile to java code with jspc. I've tried doing the following:
./jspc test.jsp
./jspc -uriroot /tmp test.jsp

Both cases give me the following error (as does ant's jspc task):

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
        at org.apache.jasper.JspC.locateUriRoot(JspC.java:616)
        at org.apache.jasper.JspC.execute(JspC.java:747)
        at org.apache.jasper.JspC.main(JspC.java:810

If I make the WEB-INF dir I get:

2003-03-12 03:08:30 - ERROR-the file '/test.jsp' generated the following general 
exception: java.lang.NullPointerException
error:null

Can someone please help?  I've tried everything I can think of and really need this.  
Oh, and please email me and the list since I'm not subscribed.

Thanks! 

--chayim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to