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´m puzzling myself to discover why it has this strange behaviour, without success though.
Joined: Oct 20, 2010
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.