Any idea why the WebWorkUtil is throwing an NPE?

> -----Original Message-----
> From: Francisco Hernandez [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 24, 2003 2:35 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] textareatag throwing exceptions
> 
> 
> ok i did what patrick suggested, and it was because there was 
> an NPE thrown by WebWorkUtil.htmlEncode, added a check for it 
> and everythings fine now.
> 
> Francisco Hernandez wrote:
> > Root cause is;
> > javax.servlet.jsp.JspException: Fatal exception caught in
> > com.opensymphony.webwork.views.jsp.ui.TextareaTag tag 
> class, doEndTag
> >     at 
> > 
> com.opensymphony.webwork.views.jsp.ui.AbstractUITag.doEndTag(A
> bstractUITag.java:121) 
> > 
> > 
> > Francisco Hernandez wrote:
> > 
> >> im baffled, textarea tag is throwing exceptions yet with the exact
> >> same attributes using the textfield tag that works just fine
> >>
> >> this doesnt work:
> >> <ww:textarea  label="getText('user.aboutMe.label')" 
> >> name="'user.aboutMe'"           value="user.aboutMe" />
> >>
> >> this does:
> >> <ww:textfield  label="getText('user.aboutMe.label')" 
> >> name="'user.aboutMe'"           value="user.aboutMe" />
> >>
> >> using latest cvs build
> >>
> >>
> >> javax.servlet.ServletException: Fatal exception caught in
> >> com.opensymphony.webwork.views.jsp.ui.TextareaTag tag 
> class, doEndTag
> >>     at 
> >> 
> com.evermind.server.http.EvermindPageContext.handlePageExcepti
> on(.:587)
> >>     at 
> >> 
> __jspPage2_WEB_INF_views_user_userEditForm_jsp._jspService(__j
> spPage2_WEB_INF_views_user_userEditForm_jsp.java:172) 
> >>
> >>     at com.orionserver.http.OrionHttpJspPage.service(.:70)
> >>
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.net email is sponsored by: SF.net Giveback Program. Does 
> >> SourceForge.net help you be more productive?  Does it help 
> you create 
> >> better code?  SHARE THE LOVE, and help us help YOU!  Click Here: 
> >> http://sourceforge.net/donate/ 
> >> _______________________________________________
> >> Opensymphony-webwork mailing list 
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >>
> >>
> >>
> > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program. Does 
> > SourceForge.net help you be more productive?  Does it help 
> you create 
> > better code?  SHARE THE LOVE, and help us help YOU!  Click Here: 
> > http://sourceforge.net/donate/ 
> > _______________________________________________
> > Opensymphony-webwork mailing list 
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > 
> > 
> > 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program. 
> Does SourceForge.net help you be more productive?  Does it 
> help you create better code?  SHARE THE LOVE, and help us 
> help YOU!  Click Here: http://sourceforge.net/donate/ 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to