You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Denis <ji...@respublica.fr> on 2002/05/10 03:09:26 UTC
template loader exception
What does it mean when I get this exception? Is there a setting missing?
[2002-05-10 01:58:15 BST] <WorkerThread1> java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:320)
at
org.apache.velocity.runtime.resource.ResourceCacheImpl.get
(ResourceCacheImpl.java:82)
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource
(ResourceManagerImpl.java:326)
at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:
805)
at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:
787)
at
org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:512)
at VelocityComponent.appendToResponse(VelocityComponent.java:59)
Velocity 1.3
Thanks,
-- Denis.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: template loader exception
Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
On 5/9/02 9:09 PM, "Denis" <ji...@respublica.fr> wrote:
> What does it mean when I get this exception? Is there a setting missing?
>
Yikes.
This is bizarre. Which version, exactly? Notice it's crashing in
j.u.Hashtable...
> [2002-05-10 01:58:15 BST] <WorkerThread1> java.lang.NullPointerException
> at java.util.Hashtable.get(Hashtable.java:320)
> at
> org.apache.velocity.runtime.resource.ResourceCacheImpl.get
> (ResourceCacheImpl.java:82)
> at
> org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource
> (ResourceManagerImpl.java:326)
> at
> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:
> 805)
> at
> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:
> 787)
> at
> org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:512)
> at VelocityComponent.appendToResponse(VelocityComponent.java:59)
>
> Velocity 1.3
> Thanks,
> -- Denis.
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
Geir Magnusson Jr.
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: template loader exception
Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
On 5/9/02 9:19 PM, "Denis" <ji...@respublica.fr> wrote:
> Never mind, I was passing null to getTemplate().
Good.
But still. We shouldn't hose like that. Will fix...
>
> On Friday, May 10, 2002, at 02:09 am, Denis wrote:
>
>> What does it mean when I get this exception? Is there a setting missing?
>>
>> [2002-05-10 01:58:15 BST] <WorkerThread1> java.lang.NullPointerException
>> at java.util.Hashtable.get(Hashtable.java:320)
>> at org.apache.velocity.runtime.resource.ResourceCacheImpl.get
>> (ResourceCacheImpl.java:82)
>> at
>> org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource
>> (ResourceManagerImpl.java:326)
>> at
>> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:
>> 805)
>> at
>> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:
>> 787)
>> at
>> org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:512)
>> at VelocityComponent.appendToResponse(VelocityComponent.java:59)
>>
>> Velocity 1.3
>> Thanks,
>> -- Denis.
>>
>>
>> --
>> 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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
Geir Magnusson Jr.
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: template loader exception
Posted by Denis <ji...@respublica.fr>.
Never mind, I was passing null to getTemplate().
On Friday, May 10, 2002, at 02:09 am, Denis wrote:
> What does it mean when I get this exception? Is there a setting missing?
>
> [2002-05-10 01:58:15 BST] <WorkerThread1> java.lang.NullPointerException
> at java.util.Hashtable.get(Hashtable.java:320)
> at org.apache.velocity.runtime.resource.ResourceCacheImpl.get
> (ResourceCacheImpl.java:82)
> at
> org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource
> (ResourceManagerImpl.java:326)
> at
> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:
> 805)
> at
> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:
> 787)
> at
> org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:512)
> at VelocityComponent.appendToResponse(VelocityComponent.java:59)
>
> Velocity 1.3
> Thanks,
> -- Denis.
>
>
> --
> 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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>