I've created a single class, with singleton patter, and called the
method getInstance() to obtaine a reference to that object. Everything
went fine on the hosted browser, however, things get weired once
deployed and used with FF. An error with null reference was thrown and
nothing else, not even a single panels :-(. I was using a one line
command to get an instance to the singleton class and issue a call to
one method within the class, something like this
SinglitonClass.getInstance().addSomeOtherClassObject(Param1,
Param2, ...);

The strange thing is that when I splitted the line over a number of
single comands, everything went fine?!!!!
SinglitonClass singletonClass =  SinglitonClass.getInstance();
singletonClass.addSomeOtherClassObject(ParamList);

in the second approach everything went fine, and FF was able to render
everything just as in the hosted mode.

I guess there is something with translating the command into
javascript, which leave one object with null value and being used
before initialization.

Do any one have a clue of what exactly the problem?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to