Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'name' of null #571

Closed
1 of 3 tasks
b1nary1 opened this issue May 9, 2018 · 4 comments
Closed
1 of 3 tasks

Cannot read property 'name' of null #571

b1nary1 opened this issue May 9, 2018 · 4 comments

Comments

@b1nary1
Copy link

b1nary1 commented May 9, 2018

I'm submitting a ...

  • Bug report
  • Feature requestdd
  • Question / Support request

Software Versions

Grafana Zabbix Grafana-Zabbix Plugin
5.1.0 3.4.8 3.9.1

What did you do?

I select such a range, when data is retrieved from trends instead of history and check the value for Singlestats with Options -> Stat set to "Current"

What was the expected result?

It should display "N/A" (it was so previously - "N/A" is my value map to "null")

What happened instead?

It shows "N/A", however, JS Error "Cannot read property 'name' of null" is displayed along.

1
2

@tornado67
Copy link

Grafana 5.2, Zabbix 3.4.11 , same

TypeError: Cannot read property 'name' of null
at eval (http://:3000/public/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/zabbixDBConnector.js:169:27)
at h (http://:3000/public/build/vendor.950b64c220f766b8b5f3.js:1:53965)
at Function.ls [as map] (http://:3000/public/build/vendor.950b64c220f766b8b5f3.js:1:95237)
at convertGrafanaTSResponse (http://10.124.0.222:3000/public/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/zabbixDBConnector.js:168:27)
at ZabbixDBConnector.handleGrafanaTSResponse (http://:3000/public/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/zabbixDBConnector.js:128:18)
at eval (http://:3000/public/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/datasource.js:407:52)
at

@alexanderzobnin alexanderzobnin modified the milestones: 3.10, 3.9.2 Sep 14, 2018
@alexanderzobnin alexanderzobnin modified the milestones: 3.9.2, 3.10 Oct 22, 2018
@akshaygupta2208
Copy link

I am also facing the same issue
Cannot read property 'name' of null
I can see this as closed but no one mentioned any solution or workaround.

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

No branches or pull requests

6 participants