Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem with tomcat and beanaction" Watch "problem with tomcat and beanaction" New topic

problem with tomcat and beanaction

Jordan Smith
Ranch Hand

Joined: Apr 06, 2008
Posts: 89
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..
I agree. Here's the link:
subject: problem with tomcat and beanaction