The moose likes Java in General and the fly likes Java Null Pointer Excep Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply 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: 26710
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: 12612
It looks like there's a couple of different errors here, too.
 
 
subject: Java Null Pointer Excep
 
Threads others viewed
EJB Exception in websphere commerce
JSF Tiles Error
Websphere Commerce : from Java filter to Struts action mapping
error - handleRequest EJPFD0004E
Error 500 while click on Application Servers in WAS 6.0 Admin console!!!
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture