ampproject / error-reporting

Contains production error tracking issues.
Apache License 2.0
2 stars 5 forks source link

🚨 Error: undefined is not an object (evaluating 'this.P.options') #38

Open ampprojectbot opened 3 years ago

ampprojectbot commented 3 years ago

Details

Error report: link First seen: Dec 16, 2020 Frequency: ~ 817/day

Stacktrace

Error: undefined is not an object (evaluating 'this.P.options')
    at kd (amp-date-picker-0.1.mjs:35:19247)
    at classList (src/custom-element.js:360:11)
    at src/custom-element.js:88:2
    at holder (src/service/extensions-impl.js:163:10)
    at src/service/custom-element-registry.js:52:4
    at src/style-installer.js:104:7
    at src/service/custom-element-registry.js:52:4
    at push (src/service/extensions-impl.js:410:24)
    at extensionId (src/service/extensions-impl.js:459:43)
    at docFactories (src/service/extensions-impl.js:410:11)
    at amp-date-picker-0.1.mjs:35:27405
    at f (amp-date-picker-0.1.mjs:35:46025)
    at getExtensionHolder_ (src/service/extensions-impl.js:190:20)
    at src/runtime.js:95:2

Notes

@dvoytenko modified src/custom-element.js:360-360 in #6766 (Dec 21, 2016) @jridgewell modified src/custom-element.js:86-88 in #27470 (Mar 30, 2020) @dvoytenko modified src/service/extensions-impl.js:156-179 in #4025 (Jul 15, 2016) @rsimha modified src/service/custom-element-registry.js:50-56 in #21212 (May 16, 2019) @rsimha modified src/style-installer.js:101-105 in #21212 (May 16, 2019) @rsimha modified src/service/custom-element-registry.js:50-56 in #21212 (May 16, 2019) @dvoytenko modified src/service/extensions-impl.js:409-411 in #4025 (Jul 15, 2016) @dvoytenko modified src/service/extensions-impl.js:457-461 in #29358 (Jul 20, 2020) @dvoytenko modified src/service/extensions-impl.js:409-411 in #4025 (Jul 15, 2016) @rsimha modified src/service/extensions-impl.js:186-192 in #21212 (May 16, 2019) @choumx modified src/runtime.js:95-95 in #10460 (Jul 17, 2017)

Seen in:

Possible assignees: @dvoytenko, @jridgewell

/cc @ampproject/release-on-duty

ampprojectbot commented 3 years ago

A duplicate error report was linked to this issue (link)

rcebulko commented 3 years ago

/cc @erwinmombay Saw this is occurring in .mjs file, as is the dupe. Unclear if it's an ESM issue or just a general issue, but all the occurrences seem to be ESM

ampprojectbot commented 3 years ago

A duplicate error report was linked to this issue (link)