Amphtml: null is not an object (evaluating 'this.a["helper-iframe-url"].indexOf')

Created on 6 Sep 2017  路  9Comments  路  Source: ampproject/amphtml

stack:

installHelperFrame@https://cdn.ampproject.org/rtv/011504040004635/v0/amp-web-push-0.1.js:35:71
start@https://cdn.ampproject.org/rtv/011504040004635/v0/amp-web-push-0.1.js:34:86
buildCallback@https://cdn.ampproject.org/rtv/011504040004635/v0/amp-web-push-0.1.js:24:203
https://cdn.ampproject.org/rtv/011504040004635/v0.js:176:244
initializePromise@[native code]
Promise@[native code]
build@https://cdn.ampproject.org/rtv/011504040004635/v0.js:176:198
build@https://cdn.ampproject.org/rtv/011504040004635/v0.js:157:150
Di@https://cdn.ampproject.org/rtv/011504040004635/v0.js:279:332
Ci@https://cdn.ampproject.org/rtv/011504040004635/v0.js:278:159
upgraded@https://cdn.ampproject.org/rtv/011504040004635/v0.js:280:297
Dc@https://cdn.ampproject.org/rtv/011504040004635/v0.js:175:29
Te@https://cdn.ampproject.org/rtv/011504040004635/v0.js:187:306

sample page it occurred: https://www-babnet-net.cdn.ampproject.org/v/s/www.babnet.net/mobile/cadredetail-amp.php?id=147343&amp_js_v=0.1&usqp=mq331AQCCAE%3D

user agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14G60 Safari/601.1.46

High Priority Bug

Most helpful comment

All 9 comments

Unminified:

null is not an object (evaluating 'this.a["helper-iframe-url"].indexOf')
 at indexOf (https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/extensions/amp-web-push/0.1/web-push-service.js:208:6)
 at https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/extensions/amp-web-push/0.1/web-push-service.js:158:30
 at config (https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/extensions/amp-web-push/0.1/amp-web-push-config.js:142:25)
 at https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/src/custom-element.js:778:16
 at https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/src/custom-element.js:777:49
 at https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/src/service/resource.js:316:11
 at https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/src/service/resources-impl.js:585:20
 at buildResourceUnsafe_ (https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/src/service/resources-impl.js:527:8)
 at buildOrScheduleBuildForResource_ (https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/src/service/resources-impl.js:646:4)
 at https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/src/custom-element.js:715:35
 at impl (https://raw.githubusercontent.com/ampproject/amphtml/1504040004635/src/custom-element.js:1090:30)

@jasonpang would you be able to fix this?

@aghassemi can you triage this if @jasonpang can't work on it?

appreciate it

will plan for next sprint if @jasonpang can't get to it.

We're investigating what caused the issue.

Was this page helpful?
0 / 5 - 0 ratings