Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Null Pointer Excep

 
Mira Pradhan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 50245
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like there's a couple of different errors here, too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic