• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

Strange NullPointerException

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Their achilles heel is the noogie! Give them noogies tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic