Its not easy for anyone to guess why you are observing a NullpointerException in your application, unless you post the exception stacktrace that you are seeing and also the information about the usecase, when you are seeing this exception. So please provide these details and people here will be glad to help you. (Remember to use the Code button, to wrap the exception stacktrace in a code block, while posting the stacktrace).
Joined: Oct 10, 2000
Kindly provide stack trace and any other details. Without a stack trace or other details we really cannot help you.
Exactly which versions of tomcat does it work on? 5.0 or 5.5?