wood burning stoves
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 REST with Spring (video course) this week in the Spring 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

Null pointer exception at _jspx_th_html_form_0.doStartTag()

Siva Subbu

Joined: May 17, 2011
Posts: 1

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.

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>

The same code is working good in QA environment.

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

Any help appreciated!

I agree. Here's the link: http://aspose.com/file-tools
subject: Null pointer exception at _jspx_th_html_form_0.doStartTag()
It's not a secret anymore!