question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read property '1' of null

See original GitHub issue

Describe the bug I updated to 4.1.0. The data alignment feature is causing Cannot read property '1' of null error in some graphs

Expected behavior I expected graphs to work fine.

Screenshots Without data alignment feature: image With the data alignment feature: image

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
7.3.6 5.0.7 4.1.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
diegocantoncommented, Dec 28, 2020

I see the same problem.

Grafana: 7.3.4 Zabbix: 4.2.8 Grafana-Zabbix Plugin: 4.1.0

The information below may perhaps help to identify the source of the problem.

I removed “Trends” parameters from the configuration, as I found in another issue that incorrect values could cause this. That did not solve it.

I found that when using “/.*/” in application the error does not appear, but neither does the data. One of my DASH had the value of “application” filled with the value used in Zabbix and presented data in 3 of the 9 panels. All panels have “application” defined.

I returned to Grafana-Zabbix Plugin: 4.0.2 and the problem is fixed

1reaction
WillemWevercommented, Dec 29, 2020

We are having the same issue.

Grafana: 7.3.6 Zabbix: 5.0.3 Grafana-Zabbix Plugin: 4.1.0

We returned to Grafana-Zabbix Plugin: 4.0.2 and the dashboards are working as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property '1' of null(…) in a JavaScript function
Uncaught TypeError : Cannot read property '1' of null(…) works to a small degree, however it appears to have blocked an additional method...
Read more >
Keep getting error message "Cannot read property '1' of null"
Very close, but the main reason for this error, is that you are only selecting the UL element. For the UL element, there...
Read more >
cannot read property "1" from null - Error handling - ServiceNow
Hi Team, I have a regex to match something and if the regex doesn't find things, its returning and rest of the code...
Read more >
Uncaught TypeError: Cannot read property of null - iDiallo
This error occurs when you read a property or call a method on a null object . That's because the DOM API returns...
Read more >
Uncaught TypeError: Cannot read property '1' of null
The plug-in immediatly throws this error when visiting the check-out page, and does the same when details are being changed.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found