Have you tried providing, in the java code, the widget that is being added to the center? That is assuming the widget that you are adding is what you are calling to get the NPE.
Some code would probably go a long way in getting better guidance...
On Tuesday, May 7, 2013 7:12:09 AM UTC-4, membersound wrote:
Hi,--
I have a SplitLayoutPanel with g:center and g:north.
The north element depends on the center element, and uses it in the contructor after initWidget() has been called.
Problem: I always get a NullPointerException for the center element used in the north element.
How can I force object creation to be first the center, and then the north element? I assume the default is just the other way around?
Thanks
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment