This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java Null Pointer Excep Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Null Pointer Excep" Watch "Java Null Pointer Excep" New topic
Author

Java Null Pointer Excep

Mira Pradhan
Greenhorn

Joined: Mar 14, 2010
Posts: 1
Hi all,
Any help would be appreciated. We are getting Java Null pointer exception in our application (error 500) when user clicks on a button to go to a page. WHen user clicks the back button and comes back problem gets resolved. We think upgrading to BeanUtils 1.8.2 will help resolve this. We are currently at 1.6. Can we upgrade to Beanutils 1.8.2 (commons.beanutils.jar) against the code that is compiled using 1.4 and is running in 1.6 JDK. We are using struts 1.1and our we are on WAS7.

Error starts at with BeanUtils.populate is of the following nature:

Thanks in advance.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37907
    
  22
Welcome to the Ranch

You need to find out what is null; no point in trying changing anything until you have debugged the NullPointerException.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It looks like there's a couple of different errors here, too.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Null Pointer Excep
 
Similar Threads
Websphere Commerce : from Java filter to Struts action mapping
Error 500 while click on Application Servers in WAS 6.0 Admin console!!!
EJB Exception in websphere commerce
error - handleRequest EJPFD0004E
JSF Tiles Error