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

Crash in Workloads Tabs #3889

Closed
m00nyONE opened this issue Sep 24, 2021 · 1 comment
Closed

Crash in Workloads Tabs #3889

m00nyONE opened this issue Sep 24, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@m00nyONE
Copy link

m00nyONE commented Sep 24, 2021

Describe the bug
The bug occures when loading one of the workload subcategories (Overview, Pods, Deployments, DaemonSets ... )

i know this has to do with the ressource map extension

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Overview'
  2. See error

Expected behavior
Behave normally and see the informations

Screenshots
Bug-Lens

Environment (please complete the following information):

  • Lens Version:
  • OS: Linux ( Manjaro 5.12 )
  • Installation method (AUR bin-release directly from github):

Logs:
Component stack:

at r (/home/sm/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:7:595820)
at div
at div
at Details
at div
at WorkloadsOverview (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:607438:34)
at Route (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:32471:29)
at Switch (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:32641:29)
at ErrorBoundary (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:572072:47)
at ErrorBoundary (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:572181:36)
at main
at div
at http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:9707:16
at Workloads (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:610679:41)
at Route (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:32471:29)
at Switch (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:32641:29)
at ErrorBoundary (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:572072:47)
at ErrorBoundary (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:572181:36)
at div
at div
at MainLayout (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:572611:9)
at ErrorBoundary (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:572072:47)
at ErrorBoundary (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:572181:36)
at Router (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:32134:30)
at App (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:666352:9)
at ThemeProvider (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:700028:24)

Error stack:

TypeError: Cannot read property 'clientWidth' of undefined
at render (/home/sm/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:7:608021)
at allowStateChanges (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:1472:12)
at http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:10151:59
at trackDerivedFunction (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:2024:18)
at Reaction.track (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:2552:18)
at reactiveRender [as render] (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:10149:14)
at qi (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535639:188)
at pi (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535638:173)
at ck (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535721:427)
at bk (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535702:347)
at ak (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535702:278)
at Tj (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535702:138)
at Lj (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535695:163)
at http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535575:115
at exports.unstable_runWithPriority (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535786:343)
at gg (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535574:325)
at jg (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535575:61)
at ig (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535574:428)
at Jg (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535689:203)
at Object.enqueueSetState (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:535585:211)
at r.C.setState (http://30bbe6314d2de07136d5f4cef5436f4d.localhost:43493/build/Lens.js:459170:369)
at r.generateChartDataSeries (/home/sm/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:7:597517)
at r.displayChart (/home/sm/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:7:597140)
at r.componentDidMount (/home/sm/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:7:597935)
at processTicksAndRejections (internal/process/task_queues.js:93:5)

Kubeconfig:
has nothing to do with it because the problem appeared after patch 5.2.4 - in 5.2.3 everything was fine

Additional context
The crash happends 2-3 seconds after loading the overview tab

@m00nyONE m00nyONE added the bug Something isn't working label Sep 24, 2021
@nevalla
Copy link
Contributor

nevalla commented Sep 25, 2021

Please upgrade kube resource map extension to version 1.0.1 (re-install the extension)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants