Re: Re: Re: Orbeon 3.9 NullPointerException with websphere 6.1
Posted by Erik Bruchez on May 09, 2011; 6:40pm URL: https://discuss.orbeon.com/Orbeon-3-9-NullPointerException-with-websphere-6-1-tp3445071p3510011.html
Olivier,
Thanks!
Now I am wondering one thing: could it be then that the exception
still occurs, but that it occurs in passivateObject(), is swallowed,
and then causes the Deflater to be discarded? I am thinking that this
would make sense since all that is done is move the call to reset()
from outside to inside the pool.
If that's the case, this means the Deflater wouldn't be reused. In
which case, using a pool is a waste, even more so if an exception is
thrown (as those can be costly).
What do you think?
-Erik
On Thu, May 5, 2011 at 8:17 AM, Olivier Thery <[hidden email]> wrote: