Uncaught TypeError: Cannot read property 'id' of null

1,791 views
Skip to first unread message

mStudios

unread,
May 9, 2015, 8:26:29 PM5/9/15
to gwd...@googlegroups.com
While developing I'm getting an "Uncaught TypeError: Cannot read property 'id' of null" error.

Odd thing is, first it's all fine, preview, publish, all works. Next day I come back to the exact same file and I get this error, I get it when opening the project file and previewing but also when I point my browser to the locally published banner. Clearing cache and hard reloading does not help.

The project is set to polite-loading. What I see is the polite-loading image come up, then the display:none and then nothing. In the HTML it only shows the empty wrapper tag for the content of the banner.

How can I fix this?

mStudios

unread,
May 12, 2015, 12:54:51 PM5/12/15
to gwd...@googlegroups.com
Can somebody help on this? We can not launch the ad due to it!!!
Screenshot 2015-05-12 11.46.59.png

Sukhbir Kaur

unread,
May 12, 2015, 2:06:35 PM5/12/15
to gwd...@googlegroups.com


Hi ,

I'm not sure why you are getting this error.  It might be due to missing / corrupt elements in your project .  If possible can you  attach your Pre-published  GWD source file   here or send it to gwd-s...@google.com  for us to debug ?

Thanks
Sukhbir
(GWD Team)

 

mStudios

unread,
May 12, 2015, 2:20:40 PM5/12/15
to gwd...@googlegroups.com
Thanks. Sending it now to the email address.

mStudios

unread,
May 12, 2015, 5:47:14 PM5/12/15
to gwd...@googlegroups.com
Thanks for all the help, this completely fixed the issue.

mStudios

unread,
May 12, 2015, 5:47:56 PM5/12/15
to gwd...@googlegroups.com

Puneet Thukral

unread,
Sep 15, 2015, 9:38:13 AM9/15/15
to Google Web Designer beta
I'm having the same problem, what was the solution?

Dreamsnfx

unread,
Sep 15, 2015, 4:20:14 PM9/15/15
to Google Web Designer beta
On my side I was able to resolve the issue by changing
the id from "gwd-ad" to "pagedeck".
Example:
from: gwd.actions.gwdDoubleclick.goToPage('gwd-ad'
to gwd.actions.gwdDoubleclick.goToPage('pagedeck'


I hope Google can fix this bug quickly on google web designer.

Thanks

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages