wood burning stoves 2.0*
The moose likes Struts and the fly likes problem with tomcat and beanaction 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 "problem with tomcat and beanaction" Watch "problem with tomcat and beanaction" New topic
Author

problem with tomcat and beanaction

Jordan Smith
Ranch Hand

Joined: Apr 06, 2008
Posts: 89
Hi,
I have a weird problem. from time to time, when I try to post the following commend, I fail on null pointer exception in org.apache.struts.beanaction.httpMap.requestMap:
in the method:

the javax.servlet.http.HttpServletRequest fails in method:
setAttribute with nullPointerExcpetion!!
Both my value and key are not null. what could be the problem?
The problem is, that it doesn't happen often, only after the tomcat server is running for an hour or so..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem with tomcat and beanaction