TypeError: Cannot read property 'aggConfig' of undefined

After upgrade from 6.4 to 6.5 we get the following warning when loading a dashboard consisting of some pie and heatmap visualisations

Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: now-4h, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:208:161744)
    at Yt (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:208:179695)
    at Ot (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:208:180406)
    at Tt (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:208:180488)
    at n (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:208:158585)
    at Function.convertTimeToUTCString (http://kibana.xxxx.local:5601/bundles/commons.bundle.js:3:397275)
    at DashboardStateManager.handleTimeChange (http://kibana.xxxx.local:5601/bundles/commons.bundle.js:3:2898432)
    at controller (http://kibana.xxxx.local:5601/bundles/commons.bundle.js:3:2882333)
    at Object.invoke (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:53092)
    at $controllerInit (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:120876)
    at nodeLinkFn (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:99972)
    at compositeLinkFn (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:85277)
    at publicLinkFn (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:82884)
    at Object.link (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:304:7516)
    at http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:11954
    at invokeLinkFn (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:114094)

malformed filter agg params, missing "query" on input

Then when clicking in the pie visualization to further apply filters nothing happens and we get this error on the console.

TypeError: Cannot read property 'aggConfig' of undefined
    at Object.createFilter (commons.bundle.js:3)
    at Function.filter (commons.bundle.js:3)
    at commons.bundle.js:3
    at processQueue (vendors.bundle.js:277)
    at vendors.bundle.js:277
    at Scope.$digest (vendors.bundle.js:277)
    at vendors.bundle.js:277
    at completeOutstandingRequest (vendors.bundle.js:277)
    at vendors.bundle.js:277 "Possibly unhandled rejection: {}"

Clicking the heatmap visualization this error pops out on the console.

TypeError: Cannot read property '$parent' of undefined
    at Function.filter (commons.bundle.js:3)
    at commons.bundle.js:3
    at processQueue (vendors.bundle.js:277)
    at vendors.bundle.js:277
    at Scope.$digest (vendors.bundle.js:277)
    at vendors.bundle.js:277
    at completeOutstandingRequest (vendors.bundle.js:277)
    at vendors.bundle.js:277 "Possibly unhandled rejection: {}"

When downgrading back to 6.4 everything works great again.

Is it a bug in Kibana 6.5 or something we've done very wrong?

Hello,

It looks similar to this bug logged: https://github.com/elastic/kibana/issues/23532

@timroes can they safely keep using 6.5 in spite of this?

Thanks,
Bhavya

I think that's a different issue. @flalar Please create an issue for that on GitHub. Please also narrow down which of the visualizations on the dashboard is throwing that and attach the saved object of that visualization.

1 Like

Will do

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.