Visualize: Cannot read property 'some' of undefined

When i try to save any visualization i get this error and then . The visualization is stored but is broken . I cant see anything . This happens most simple visualization ( document count ) . I dont have any field called some .

Just One note . This is happening in chrome . when i deleted all reports and a i entered in the same Kibana with fireforx the error disappeared . .

What version of Kibana are you running and what plugins do you have installed?

Kibana 6.2.4 with x-pack and heatbeat , filebeat . There are no custom plugings isntalled . At this moment i have tried different browsers and versions of crome and it only happens with my chrome desktop if i create the visualization . It i create the same visualization with a Firefox browser i dont have any problems and i can see it in my chrome version .

Hi,

could you please open the dev tools of your browser (Pressing F12) and check for the stack trace that should be on the "Console". It should print more context about where this error actually happened.

Cheers,
Tim

I i am afraid the chrome console does not say nothing . I attach a screenshot .

but At this moment , irealize that there could be a significant info in the kibana screen . I see a mention to Array.filter but i am authenticated .

In fact I have anonymous access enabled for the front

The extended error info in kibana looks like this -->

TypeError: Cannot read property 'some' of undefined at [http://xxxxx:5601/bundles/commons.bundle.js?v=16627:21:582466](http://xxxxx:5601/bundles/commons.bundle.js?v=16627:21:582466)
at [http://xxxxxxxx:5601/bundles/commons.bundle.js?v=16627:21:582620](http://xxxxxxxx:5601/bundles/commons.bundle.js?v=16627:21:582620)
at Array.filter (<anonymous>) at [http://xxxxxxxx:5601/bundles/commons.bundle.js?v=16627:21:566753](http://xxxxxxxx:5601/bundles/commons.bundle.js?v=16627:21:566753)
at processQueue ([http://xxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:132456](http://xxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:132456)    ) at [http://xxxxxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:133349](http://xxxxxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:133349)
at Scope.$digest ([http://xxxxxxxt:5601/bundles/vendors.bundle.js?v=16627:116:144239](http://xxxxxxxt:5601/bundles/vendors.bundle.js?v=16627:116:144239)    ) at [http://elastic.iecisa.net:5601/bundles/vendors.bundle.js?v=16627:116:146743](http://elastic.iecisa.net:5601/bundles/vendors.bundle.js?v=16627:116:146743)
at completeOutstandingRequest ([http://xxxxxxt:5601/bundles/vendors.bundle.js?v=16627:116:36785](http://xxxxxxt:5601/bundles/vendors.bundle.js?v=16627:116:36785)    ) at [http://xxxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:39923](http://xxxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:39923)

Sorre here is the atachement ..

This looks like a bug for me. I created #19814 for this issue.

Cheers,
Tim

in fact it is a question of giving permisssions to the anonymous user but at this moment i this moment i cant tell you . In any case kibana should make that request with an authenticated user ( for chrome , in firefox as i told you , it works )

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