File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 40034
    
  28
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