Done. I moved the creation of the map to doStartTag(), which should
solve the problem. Let me know if it doesn't.


david

Laine Donlan wrote:

> I am not sure if this has come up on the list recently but it seems that
> there is a minor bug in the template tags in Weblogic 6.0.  I think the
> problem arises when using multiple template:inserts are used within a
> single page.  The InsertTag creates it's content map during
> instantiation and weblogic 6.0 only instantiates the object once per
> page.  Therefore, in the release() method of the InsertTag the map when
> the map is set to null, the next time the object is used a NullPointer
> is thrown.
>
> I was able to get around this by either checking for null in the
> doStartTag of the Insert or by resetting the instance of the map in the
> release rather than setting it to null.
>
> Thanks
>
> Laine

Reply via email to