You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Reto Badertscher <rb...@i-netsystems.com> on 2001/12/13 16:15:05 UTC

Tomcat4 & Velocity

Hello,

after porting an application using Velocity from TC 3.2 to TC 4.0 the
following error occurres when accessing the application:

StandardWrapperValve[Controller]: Allocate exception for servlet Controller
javax.servlet.ServletException: Error configuring the loader:
java.lang.NullPointerException
	at
org.apache.velocity.servlet.VelocityServlet.init(VelocityServlet.java:213)

This error happens with Velocity 1.1 and 1.2.  Could please someone give me
a hint what causes this error.

Thanks a lot for any help

Reto


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat4 & Velocity

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 12/13/01 10:15 AM, "Reto Badertscher" <rb...@i-netsystems.com> wrote:

> Hello,
> 
> after porting an application using Velocity from TC 3.2 to TC 4.0 the
> following error occurres when accessing the application:
> 
> StandardWrapperValve[Controller]: Allocate exception for servlet Controller
> javax.servlet.ServletException: Error configuring the loader:
> java.lang.NullPointerException
> at
> org.apache.velocity.servlet.VelocityServlet.init(VelocityServlet.java:213)
> 
> This error happens with Velocity 1.1 and 1.2.  Could please someone give me
> a hint what causes this error.
> 

Strange. I use TC4 all the time.

We can take this off of Tomcat list for a moment to figure out where in
Velocity the problem is happening and you can bring it back to Tomcat-land
if it is a tomcat issue.

Email me if interested.  I can send you a modified Velocity jar that will
give us some more info.

Geir

-- 
Geir Magnusson Jr.                       geirm@optonline.net
System and Software Consulting
You're going to end up getting pissed at your software
anyway, so you might as well not pay for it. Try Open Source.



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>