aspose file tools*
The moose likes JSF and the fly likes Strange NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Strange NullPointerException" Watch "Strange NullPointerException" New topic
Author

Strange NullPointerException

B Nirvan
Ranch Hand

Joined: Oct 20, 2010
Posts: 82
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

Joined: Sep 01, 2005
Posts: 9
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

Joined: Oct 20, 2010
Posts: 82
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Strange NullPointerException