File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with tomcat and beanaction
 
Similar Threads
Question regarding Map interface
which Collection?
compile-time type checking
Multi-threads access singleton
Is HashMap.put() atomic?