Re: [gwt-contrib] bug with the new snapshot

2014-10-03 Thread Julien Dramaix
Thanks Daniel,

I've tested your patch and it solves the issue

On Fri, Oct 3, 2014 at 7:41 AM, 'Daniel Kurka' via GWT Contributors 
google-web-toolkit-contributors@googlegroups.com wrote:

 Hi Julien,

 I think this is related to us not waiting for the body to be loaded before
 injecting the recompile.nocache.js.

 Can you try: https://gwt-review.googlesource.com/#/c/9451/ and let me
 know if this fixes your issue?

 -Daniel

 On Thu, Oct 2, 2014 at 4:34 AM, Julien Dramaix julien.dram...@gmail.com
 wrote:

 This morning, I've updated my GWT snapshot to the last one and I'm not
 able to run the super dev mode (with the flag -superDevMode) for my
 applications.

 The problem comes from that the .nocache.js tries to add the compilation
 dialog to the body before the body is initialized.

 Error:
 Uncaught TypeError: Cannot read property 'appendChild' of null
 in:
 Dialog.prototype.show = function() {
   $doc.body.appendChild(this.__overlay);
   $doc.body.appendChild(this.__dialog);
 };

 $doc.body is null when the method is called. This method should be called
 when the html is fully loaded.


 If I include the nocache.js script at the end of the body instead of in
 the head of the html, it works fine.

 Julien


  --
 You received this message because you are subscribed to the Google Groups
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D5%3DMU8--RcXrHwjM8ZSPvB%2B2MG-7nAvF1Sq8BjDEeJ5Kw%40mail.gmail.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D5%3DMU8--RcXrHwjM8ZSPvB%2B2MG-7nAvF1Sq8BjDEeJ5Kw%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




 --
 Google Germany GmbH
 *Dienerstr. 12*
 *80331 München*

 Registergericht und -nummer: Hamburg, HRB 86891
 Sitz der Gesellschaft: Hamburg
 Geschäftsführer: Graham Law, Katherine Stephens

 --
 You received this message because you are subscribed to the Google Groups
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujiqQnryHwbPUYRV1Uyborxpd31sFNHxSUkz063k7otE5Bw%40mail.gmail.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujiqQnryHwbPUYRV1Uyborxpd31sFNHxSUkz063k7otE5Bw%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D5AriYNmoaFxdmKNzzECyh907ZT0AD8Kv7R4uHHiZ9muA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] bug with the new snapshot

2014-10-02 Thread Julien Dramaix
This morning, I've updated my GWT snapshot to the last one and I'm not able
to run the super dev mode (with the flag -superDevMode) for my applications.

The problem comes from that the .nocache.js tries to add the compilation
dialog to the body before the body is initialized.

Error:
Uncaught TypeError: Cannot read property 'appendChild' of null
in:
Dialog.prototype.show = function() {
  $doc.body.appendChild(this.__overlay);
  $doc.body.appendChild(this.__dialog);
};

$doc.body is null when the method is called. This method should be called
when the html is fully loaded.


If I include the nocache.js script at the end of the body instead of in the
head of the html, it works fine.

Julien

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D5%3DMU8--RcXrHwjM8ZSPvB%2B2MG-7nAvF1Sq8BjDEeJ5Kw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] bug with the new snapshot

2014-10-02 Thread 'Daniel Kurka' via GWT Contributors
Hi Julien,

I think this is related to us not waiting for the body to be loaded before
injecting the recompile.nocache.js.

Can you try: https://gwt-review.googlesource.com/#/c/9451/ and let me know
if this fixes your issue?

-Daniel

On Thu, Oct 2, 2014 at 4:34 AM, Julien Dramaix julien.dram...@gmail.com
wrote:

 This morning, I've updated my GWT snapshot to the last one and I'm not
 able to run the super dev mode (with the flag -superDevMode) for my
 applications.

 The problem comes from that the .nocache.js tries to add the compilation
 dialog to the body before the body is initialized.

 Error:
 Uncaught TypeError: Cannot read property 'appendChild' of null
 in:
 Dialog.prototype.show = function() {
   $doc.body.appendChild(this.__overlay);
   $doc.body.appendChild(this.__dialog);
 };

 $doc.body is null when the method is called. This method should be called
 when the html is fully loaded.


 If I include the nocache.js script at the end of the body instead of in
 the head of the html, it works fine.

 Julien


  --
 You received this message because you are subscribed to the Google Groups
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D5%3DMU8--RcXrHwjM8ZSPvB%2B2MG-7nAvF1Sq8BjDEeJ5Kw%40mail.gmail.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D5%3DMU8--RcXrHwjM8ZSPvB%2B2MG-7nAvF1Sq8BjDEeJ5Kw%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
Google Germany GmbH
*Dienerstr. 12*
*80331 München*

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Katherine Stephens

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujiqQnryHwbPUYRV1Uyborxpd31sFNHxSUkz063k7otE5Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.