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.

Updating from 3.10 to 3.12 causes crash:

See original GitHub issue

I just updated to 3.12 and now my charts are crashing with "cannot read property ‘logarithmic’ of undefined’

It seems it’s a problem in setYScaleForIndex in Scales.js. CoreUtils also looks for a ‘logarithmic’ property, but it couldn’t be causing the crash because it makes sure the object it’s checking the property on is defined. In this case, it appears the y is undefined.

I’m unsure why this crash would occur after the update, but never happened before. Nothing in my code has changed.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
juliorosseticommented, Jan 21, 2020

I got a good result so that the error does not appear on the console: Uncaught (in promise) TypeError: Cannot read property 'logarithmic' of undefined.

It’s necessary to leave a series preset with the key data being an empty array.

Before: https://codepen.io/juliorosseti/pen/MWYzzPB?editors=1010

series: []

After: https://codepen.io/juliorosseti/pen/YzPdywb?editors=1010

series: [
    {
         data: []
    }
]
0reactions
juliorosseticommented, Jan 21, 2020

I could simulate my problem in codepen, you can take a look? @junedchhipa

https://codepen.io/juliorosseti/pen/MWYzzPB?editors=1010

Read more comments on GitHub >

github_iconTop Results From Across the Web

IBM Spectrum Scale Alert: Releases 4.2.3.18 or later and 5.0 ...
IBM Spectrum Scale Alert: Releases 4.2.3.18 or later and 5.0.4.0 or later have issues resulting in kernel crashes on RHEL7.7 with kernel ...
Read more >
Linux 3.10+ Driver crash - Linux - NVIDIA Developer Forums
The 3.12 Linux kernel with or without ck and nvidia 331.20 still locks up my laptop. When I say locks up I mean...
Read more >
Changelog — Python 3.11.1 documentation
gh-97728: Fix possible crashes caused by the use of uninitialized variables when pass invalid arguments in os.system() on Windows and in Windows-specific ...
Read more >
Cisco Prime Infrastructure 3.10.2 Release Notes
Perform an inline upgrade of existing 3.10 or 3.10 Update 01 or 3.10.1 system—See How to Perform an Inline Upgrade. Restore data from...
Read more >
Crashes — Blender Manual
To prevent the problem from happening again, you can check that the graphics drivers are up to date (Graphics Hardware), upgrade your machine's...
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