"Share" and "Manage index" buttons not working in Kibana 6.5.3?

reporting

(Johan Nilsson) #1

Hi!

I'm trying to access the reporting features in Kibana from a dashboard, but nothing happens when I press the "Share" button in the top right menu. If I have the browser console open at the same time, then I can see a "Cannot read property 'top' of null" error there when pressing the "Share" button:

From the documentation, this is how it is suppose to work: Reporting from Kibana (?)

Is this some known bug in Kibana, or is there something wrong with my setup?


#2

@JNilsson Can you share a bit more about your environment? What version of Kibana are you using? Are you using X-Pack? If yes, I wonder if you have the proper roles to use reporting. See here for the required roles: https://www.elastic.co/guide/en/kibana/current/secure-reporting.html


(Johan Nilsson) #3

Hi @stiltz, and thanks for your reply!

I am using Kibana version 6.5.3 with X-pack (with a trial license) and I am logged in as the elastic user with the superuser role. I tried creating a new user now with the kibana_user and reporting_user roles but that didn't work either, I'm getting the same error with that user as well.


(Johan Nilsson) #4

You get this error if you press the "Share" button using Firefox instead (the error in the first post was from using Chrome):

TypeError: _findPopoverPosition is null
Stack trace:
EuiPopover/_this.positionPopover@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:72:729085
EuiPopover/_this.positionPopoverFluid@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:72:729726
EuiPopover/_this.panelRef@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:72:730013
cf/<.commitAttachRef@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:64044
R@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:74482
G@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:73251
x@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:72776
n@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:72619
B@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:72003
v@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:71456
b@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:76919
lf/<.updateContainer@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:77563
sg.prototype.render@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:92348
Eg/<@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:98330
kf/<.unbatchedUpdates@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:75988
Eg@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:98249
Gg.render@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:208:98824
showShareContextMenu@https://192.168.231.218:9601/kibana/bundles/commons.bundle.js:3:2991787
controller/navActions[_top_nav_ids.TopNavIds.SHARE]@https://192.168.231.218:9601/kibana/bundles/commons.bundle.js:3:2893061
KbnTopNavController/this.handleClick@https://192.168.231.218:9601/kibana/bundles/commons.bundle.js:3:546278
anonymous/fn@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js line 277 > Function:2:342
ngEventDirectives[directiveName]</<.compile/ngEventHandler/</callback@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:277:273808
$RootScopeProvider/this.$get</Scope.prototype.$eval@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:277:212786
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:277:213124
ngEventDirectives[directiveName]</<.compile/ngEventHandler/<@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:277:273909
jQuery.event.dispatch@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:271:60558
jQuery.event.add/elemData.handle@https://192.168.231.218:9601/kibana/bundles/vendors.bundle.js:271:57353

(Johan Nilsson) #5

I got the same error (or at least a very similar one) in another place as well now. When pressing the "Manage index" button on the "Index Management" page, marked with a red square in the image below, then I also get a "Cannot read property 'top' of null" error:


#6

Hmm, just run Kibana 6.5.3 and everything looks good to me.

Are using any custom 3rd party plugin?

Also you can try to upgrade to 6.5.4, and see if it helps.

Best,
Oleg