NULL Points + Fire Fox
So I made a bone head mistake and had a null pointer error. essentially I had
user = loadUser();
if( user == null)
{
Make login screen
}
else{
populate user
}
if(user.name == Sean)
{
do something
}
So obviously that nulls out if I'm not logged in. Here's the rub, it worked fine in development mode. It didn't toss an error or anything. When I deployed it, I was met with no errors, only a blank screen. However, Firefox worked fine. This took me HOURS to figure out.
Any idea why it works in dev mode and FireFox? I wish it stopped working ASAP (like it should) so I know, Oh, that line I just put in made it stop working instead of it happening hours later when I'm deploying it.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/HiU8R6Lia3IJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home