This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Null pointer exception at _jspx_th_html_form_0.doStartTag() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Null pointer exception at _jspx_th_html_form_0.doStartTag()" Watch "Null pointer exception at _jspx_th_html_form_0.doStartTag()" New topic
Author

Null pointer exception at _jspx_th_html_form_0.doStartTag()

Siva Subbu
Greenhorn

Joined: May 17, 2011
Posts: 1
Hi,

I am pretty new to Struts. I am using WSAD and RAD as IDE. While running the application locally, I got null pointer exception in JSP.

I traced to the servlet generated code where it gives Null pointer exception and it points to the below line marked in RED color.

_jspx_th_html_form_0.setAction("applaccess.do?function=getAll");
int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
and the corresponding JSP code maps to the below lines.

<html:form action="applaccess.do?function=getAll">
<html:hidden property="reqParam"/>
<html:submit styleClass="buttonText" style="background-color: #6b78a9; color: white;font-weight: bold; font-size:11;font-family: Verdana;">Show All</html:submit>
</html:form>


The same code is working good in QA environment.

I am not sure, whether am i missing any libraries.

Any help appreciated!

Regards,
Siva
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Null pointer exception at _jspx_th_html_form_0.doStartTag()