velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Reyes" <rodr...@instaservi.com>
Subject Re: Newby VelocityEngine initialization problems...
Date Fri, 02 Aug 2002 16:43:30 GMT
Geir
    No, I haven't. Still, I have JPublish working here, and everything seems
to be working fine. And as far as I know, JPublish is based on Turbine,
which uses Velocity as template engine and is working under the same JRE.
So, if Velocity is working for JPublish, I think the problem is not the JRE.
Any other suggestion? Thanx

Rodrigo

----- Original Message -----
From: "Geir Magnusson Jr." <geirm@adeptra.com>
To: <velocity-user@jakarta.apache.org>
Sent: Friday, August 02, 2002 4:54 AM
Subject: Re: Newby VelocityEngine initialization problems...


> On 8/1/02 3:59 PM, "Rodrigo Reyes" <rodrigo@instaservi.com> wrote:
>
> > Hi
> >   Sorry if this seems trivial for some of you, but I am stuck here and I
> > couldn't find any solution in the mail archive. I was trying to create a
> > HelloWorld using Velocity but couldn't. I always get this messages from
the
> > stack...
> >
> > java.lang.NullPointerException
> >       at
> >
org.apache.velocity.runtime.RuntimeInstance.setDefaultProperties(RuntimeInst
> > ance.java:295)
> >       at
> >
org.apache.velocity.runtime.RuntimeInstance.initializeProperties(RuntimeInst
> > ance.java:423)
> >       at
> >
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:266)
> >       at
> > org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:122)
> >       at tp2txt.HelloWorld.main(HelloWorld.java:24)
> > Exception in thread "main"
> >
> >   This happens when I try to init() a new instance of VelocityEngine. I
am
> > using velocity-dep-1.3.1-rc2.jar and jdk1.4.0. I am copying the velocity
jar
> > into JAVA_HOME/jre/lib/ext. Am I missing something? Maybe some
configuration
> > file? Thanx
> >
>
> Do you have the same problem with the same program under jdk1.3.1?
> --
> Geir Magnusson Jr.
> Research & Development, Adeptra Inc.
> geirm@adeptra.com
> +1-203-247-1713
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:velocity-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:velocity-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message