[Opensource] Controller in inconsistent state (I guess !)
Michael Rimov
rimovm at centercomp.com
Tue Feb 4 20:26:05 PST 2003
At 10:23 PM 2/1/2003 -0500, you wrote:
>Hi,
>
>I found myself what the problem is.
>The problem stands in the way BeanUtils.decsribe(Object bean) is
>written.
>Here is the initial code:
>
> if (log.isDebugEnabled()) {
> log.debug("Describing bean: " + bean.getClass().getName());
> }
> if (bean == null) {
> // return (Collections.EMPTY_MAP);
> return (new java.util.HashMap());
> }
>
>So in case debug is enabled and bean == null you get
>NullPointerException.
>I saw this fixed in the latest BeanUtils 1.6 so Expresso better uses
>that.
>
>thanks
>
>Lirian
Hi Lirian,
Thanks for the feedback... I'm waiting for BeanUtils 1.6.1 before I
integrate that.... Thanks for the pointer, however.
-Mike
More information about the Opensource
mailing list