• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strange NullPointerException

 
B Nirvan
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing a very strange problem. Here is the steps that result in a NullPointerException. I am using Glassfish v3 (JSF Mojarra 2.0.2).

Load page1 giving the url in browser.
Press any button in page 1. Takes the user to page 2.
Process page 2 by pressing button. After processing is over press back button (type=submit) in page 2 to go back to page 1. Navigation occurs and page 1 is displayed.
Press any button in just loaded page 1. This throws NullPointerException. Here is the stack trace.


I have no idea what is going wrong.

regards,
Nirvan.
 
Jose Rodolfo freitas
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you figure it out why it´s working that way?

I´m puzzling myself to discover why it has this strange behaviour, without success though.
 
B Nirvan
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which windows version are you using. This problem occurred specifically on my aged windows xp machine. However it does not occur on windows 7. If you are running on windows xp, and using Mojarra, use the 2.0.3 version. If you don't have the liberty of changing the JSF version, then I believe I can't be of any real help to you. I didn't try to figure out why this problem occurred as I was able to resolve it using the latest Mojarra JSF implentation.

regards,
Nirvan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic