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 <[email protected]>
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 [email protected].
> 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=email&utm_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 [email protected].
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.

Reply via email to