Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Null pointer exception at _jspx_th_html_form_0.doStartTag()

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
My previous laptop never exploded like that. Read this tiny ad while I sweep up the shards.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic