on 11/27/2000 3:06 PM, "Will Stranathan" <[EMAIL PROTECTED]> wrote:
> How strange. When I deliberately remove the eventSubmit_doLogin (or
> change it to something else,) I get the attached unhandled exception.
hmmm...
> However, everything functions as expected when I set it properly - I get
> sent back to login.vm if the userID or password is wrong.
>
> Make sure eventSubmit_doLogin is getting set to something. I wish I
> could duplicate the propblem.
> (Also, it appears that turbine has to be
> shutdown and restart for it to re-read TR.props)
that is true. if you want it to reload, then submit a patch. :-)
> java.lang.NullPointerException
> at java.util.Hashtable.containsKey(Hashtable.java(Compiled Code))
> at
> org.apache.turbine.services.template.TurbineTemplateService.getLayoutTemplateN
> ame(TurbineTemplateService.java:283)
what version of the code are you using, because line 283 is a comment in my
version of TurbineTemplateService
i just added some error checking code to that class to at least throw an
exception so that you don't see an NPE from containsKey().
-jon
--
twice of not very much is still a lot more than not very much
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]