jspc NullPointerException

2002-11-18 Thread Holger Veltrup
Hey,
I try to compile a JSP with the jspc-Script.
I download the binary-distritbution fo tomcat-1.4.12.
My Java-Version is 1.4.0

If i execute the following command a NullPointerException is thrown.

./jspc.sh -uriroot ../webapps/examples ../webapps/examples/jsp/colors/colrs.jsp

2002-11-18 10:13:30 - ERROR-the file '/jsp/colors/colrs.jsp' generated the following 
general exception: java.lang.NullPointerException
error:null

Several variations of options could't help

Thanks for help

Holger


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




jspc NullPointerException

2002-11-18 Thread Holger Veltrup
Hey,
I try to compile a JSP with the jspc-Script.
I download the binary-distritbution tomcat-1.4.12.
My Java-Version is 1.4.0

If I execute the following command a NullPointerException is thrown.

./jspc.sh -uriroot ../webapps/examples
 ../webapps/examples/jsp/colors/colrs.jsp

2002-11-18 10:13:30 - ERROR-the file '/jsp/colors/colrs.jsp' generated the following 
general exception: java.lang.NullPointerException
error:null

Several variations of options don't help

Thanks for help

Holger

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Re: jspc NullPointerException

2002-11-18 Thread Holger Veltrup
I use the tomcat example of downloaded distribution. There is not my owen code 
intergrated.

The same call (./jspc.sh -uriroot ../webapps/examples 
../webapps/examples/jsp/colors/colrs.jsp)
works with tomcat 4.0.3


>Try to isolate the error further, "error:null" seems like it is coming from
>a:
>catch(Exception e){
>System.out.println("error:" + e.getMessage());
>}
>
>in your code.
>
>Null pointer exception is very often a call to a method on an object which
>has not been instantiated.
>
>Andoni.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: