Hi Yazid,
which version of tobago?
this is UIPopup in trunk:
69
70 public boolean isRendered() {
71 ValueBinding valueBinding = getValueBinding("rendered");
72 if (valueBinding!= null) {
73 return (Boolean) valueBinding.getValue(getFacesContext());
74 } else {
75 return isActivated() || isRedisplay();
76 }
77 }
78
The only NPE in line 73 could be a autoboxing NPE when converting a
null returned by valueBinding to boolean return value.
Regards,
Volker
2007/8/29, yazid <[EMAIL PROTECTED]>:
>
> Hi all;
> I've a strange problem with tobago jsp; happens sometimes and I can't
> reproduce
> -----
> java.lang.NullPointerException
> at
> org.apache.myfaces.tobago.component.UIPopup.isRendered(UIPopup.java:73)
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:66)
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.PageRenderer.encodeEnd(PageRenderer.java:138)
> ..............
> --------------
> I've 3 popup in the page; all off in page load time.
> Please help
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/TObago-tf4345120.html#a12379088
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>