This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Struts and the fly likes NullPonterException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "NullPonterException" Watch "NullPonterException" New topic


tyte kyat
Ranch Hand

Joined: May 17, 2011
Posts: 40
I got the following NPE for the first time I log in to my application. after the first time, it is working fine
and when I refresh the error page, it is also working fine.
Can someone please point me out why is it happening and where did I make it wrong?

Thanks in advance.

Joe Ess

Joined: Oct 29, 2001
Posts: 8994

Without seeing your code, we are pretty much in the dark.

[How To Ask Questions On JavaRanch]
tyte kyat
Ranch Hand

Joined: May 17, 2011
Posts: 40
sorry, too much desire make me blind...

I agree. Here's the link:
subject: NullPonterException