Skip to content
This repository has been archived by the owner on Sep 28, 2019. It is now read-only.

async.html:34 Uncaught TypeError: Cannot read property 'disconnect' of null. in version 2.1.1 . I'm use hide-immediatly property #70

Open
tandacedric opened this issue Jul 9, 2018 · 1 comment

Comments

@tandacedric
Copy link

tandacedric commented Jul 9, 2018

iron-lazy-pages-behavior.html:150 crash

async.html:34 Uncaught TypeError: Cannot read property 'disconnect' of null
at DomApi.unobserveNodes (polymer.dom.html:73)
at HTMLElement.detached (iron-overlay-behavior.html:210)
at HTMLElement.detached (class.html:275)
at HTMLElement.detached (class.html:272)
at HTMLElement.detached (class.html:272)
at HTMLElement.detached (class.html:272)
at HTMLElement.detached (class.html:272)
at HTMLElement.disconnectedCallback (legacy-element-mixin.html:125)
at Zc.disconnectedCallback (CustomElementInternals.js:313)
at R (CustomElementInternals.js:104)

  unobserveNodes @ polymer.dom.html:73
  detached @ iron-overlay-behavior.html:210
  detached @ class.html:275
  detached @ class.html:272
  detached @ class.html:272
  detached @ class.html:272
  detached @ class.html:272
  disconnectedCallback @ legacy-element-mixin.html:125
  Zc.disconnectedCallback @ CustomElementInternals.js:313
  R @ CustomElementInternals.js:104
  (anonymous) @ Node.js:77
  __detachInstance @ dom-repeat.html:629
  disconnectedCallback @ dom-repeat.html:313
  Zc.disconnectedCallback @ CustomElementInternals.js:313
  R @ CustomElementInternals.js:104
  (anonymous) @ Node.js:116
  __teardownInstance @ dom-if.html:275
  __render @ dom-if.html:159
  __renderDebouncer.Polymer.Debouncer.debounce @ dom-if.html:108
  _timer._asyncModule.run @ debounce.html:43
  microtaskFlush @ async.html:31
  setTimeout (async)    
  microtaskFlush @ async.html:33
  characterData (async)    
  set @ patch-accessors.js:327
  set @ Node.js:175
  run @ async.html:199
  setConfig @ debounce.html:40
  debounce @ debounce.html:123
  __debounceRender @ dom-if.html:108
  runObserverEffect @ property-effects.html:225
  runEffectsForProperty @ property-effects.html:168
  runEffects @ property-effects.html:130
  _propertiesChanged @ property-effects.html:1899
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  _setProperty @ property-effects.html:1683
  Object.defineProperty.set @ properties-changed.html:157
  _show @ iron-lazy-pages-behavior.html:150
  onFinished @ iron-lazy-pages-behavior.html:113
  _itemSelected @ iron-lazy-pages-behavior.html:120
  handler @ template-stamp.html:92
  l @ patch-events.js:425
  dispatchEvent @ patch-builtins.js:87
  fire @ legacy-element-mixin.html:427
  _applySelection @ iron-selectable.html:350
  setItemSelected @ iron-selection.html:81
  select @ iron-selection.html:100
  _selectSelected @ iron-selectable.html:287
  _updateSelected @ iron-selectable.html:277
  runMethodEffect @ property-effects.html:904
  runEffectsForProperty @ property-effects.html:168
  runEffects @ property-effects.html:130
  _propertiesChanged @ property-effects.html:1899
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  __enableOrFlushClients @ property-effects.html:1783
  _flushClients @ property-effects.html:1755
  _propertiesChanged @ property-effects.html:1894
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  _setProperty @ property-effects.html:1683
  Object.defineProperty.set @ properties-changed.html:157
  _modulePageChanged @ app-container.html:380
  runMethodEffect @ property-effects.html:904
  runEffectsForProperty @ property-effects.html:168
  runEffects @ property-effects.html:130
  _propertiesChanged @ property-effects.html:1899
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  _setProperty @ property-effects.html:1683
  Object.defineProperty.set @ properties-changed.html:157
  _routeChanged @ app-container.html:345
  runMethodEffect @ property-effects.html:904
  runEffectsForProperty @ property-effects.html:168
  runEffects @ property-effects.html:130
  _propertiesChanged @ property-effects.html:1899
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  runNotifyEffects @ property-effects.html:272
  _propertiesChanged @ property-effects.html:1902
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  setProperties @ property-effects.html:1829
  __tryToMatch @ app-route.html:332
  runMethodEffect @ property-effects.html:904
  runEffectsForProperty @ property-effects.html:168
  runEffects @ property-effects.html:130
  _propertiesChanged @ property-effects.html:1899
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  __enableOrFlushClients @ property-effects.html:1783
  _flushClients @ property-effects.html:1755
  _propertiesChanged @ property-effects.html:1894
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  runNotifyEffects @ property-effects.html:272
  _propertiesChanged @ property-effects.html:1902
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  setProperties @ property-effects.html:1829
  __tryToMatch @ app-route.html:332
  runMethodEffect @ property-effects.html:904
  runEffectsForProperty @ property-effects.html:168
  runEffects @ property-effects.html:130
  _propertiesChanged @ property-effects.html:1899
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  __enableOrFlushClients @ property-effects.html:1783
  _flushClients @ property-effects.html:1755
  _propertiesChanged @ property-effects.html:1894
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  runNotifyEffects @ property-effects.html:272
  _propertiesChanged @ property-effects.html:1902
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  _setProperty @ property-effects.html:1683
  Object.defineProperty.set @ properties-changed.html:157
  _locationChanged @ app-route-converter-behavior.html:73
  runMethodEffect @ property-effects.html:904
  runEffectsForProperty @ property-effects.html:168
  runEffects @ property-effects.html:130
  _propertiesChanged @ property-effects.html:1899
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  _setProperty @ property-effects.html:1683
  Object.defineProperty.set @ properties-changed.html:157
  __computeRoutePath @ app-location.html:186
  runMethodEffect @ property-effects.html:904
  runEffectsForProperty @ property-effects.html:168
  runEffects @ property-effects.html:130
  _propertiesChanged @ property-effects.html:1899
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  runNotifyEffects @ property-effects.html:272
  _propertiesChanged @ property-effects.html:1902
  _flushProperties @ properties-changed.html:373
  _flushProperties @ property-effects.html:1731
  _invalidateProperties @ property-effects.html:1699
  _setProperty @ property-effects.html:1683
  Object.defineProperty.set @ properties-changed.html:157
  _urlChanged @ iron-location.html:230
  handler @ template-stamp.html:92
  l @ patch-events.js:425
  fire @ legacy-element-mixin.html:427
  _globalOnClick @ iron-location.html:313
  handler @ template-stamp.html:92
  l @ patch-events.js:425
@TimvdLippe
Copy link
Owner

I doubt this is related to this element. Instead, I think this is an issue in an disconnectedCallback in one of your elements. Please post a minimized JSBin that shows the issue so that I can debug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants