wood burning stoves
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Null Pointer Excep" Watch "Java Null Pointer Excep" New topic

Java Null Pointer Excep

Mira Pradhan

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

Joined: Oct 13, 2005
Posts: 46328
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

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
It's not a secret anymore!