lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.48k stars 1.46k forks source link

App error at workloads #8001

Open Kachit opened 8 months ago

Kachit commented 8 months ago

Describe the bug After update on version 2023.12.281947-latest I have some error. When I connect to kube cluster app show error trace.

To Reproduce Steps to reproduce the behavior:

  1. Connect to kube cluster

Expected behavior App show Overview window

Screenshots Screenshot_2

Environment (please complete the following information):

msa0311 commented 8 months ago

Should be fixed with latest version, you can find it from our website https://k8slens.dev Please let us know if the problem still persists.

Kachit commented 8 months ago

Unfortunately no. Now I use latest version Lens 2024.1.170738 and I have same problem

msa0311 commented 8 months ago

Alright, we will look into this again! Thanks for reporting this!

pbolduc commented 7 months ago

I have been getting the app crash connecting to an OpenShift cluster. The error occurs on the first attempt. After hitting the Back button and try again, it will work.

Version

Lens: 2024.1.300751-latest
Extension API: 6.10.33
Electron: 27.2.4
Chrome: 118.0.5993.159
Node: 18.17.1
© 2023 Mirantis, Inc.
Component stack:

    at LensChart (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:621184:17)
    at observerComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268056:16)
    at div
    at div
    at observerComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268056:16)
    at div
    at div
    at div
    at observerComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268056:16)
    at div
    at NonInjectedErrorBoundary (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:633072:32)
    at main
    at div
    at observerComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268056:16)
    at observerComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268056:16)
    at NonInjectedWorkloadsOverview (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:621917:5)
    at NonInjectedErrorBoundary (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:633072:32)
    at div
    at div
    at NonInjectedMainLayout (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:588521:29)
    at observerComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268056:16)
    at ObserverComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268104:23)
    at NonInjectedErrorBoundary (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:633072:32)
    at observerComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268056:16)
    at ObserverComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268104:23)
    at observerComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268056:16)
    at NonInjectedKeyboardShortcutListener (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:637841:3)
    at ThemeProvider (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:133241:24)
    at https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:585246:18
    at Router (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:500217:30)
    at https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:585246:18
    at observerComponent (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:268056:16)
Error stack:

Error: "doughnut" is not a registered controller.
    at Registry._get (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:664272:19)
    at Registry.getController (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:664216:21)
    at Chart.buildOrUpdateControllers (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:665078:50)
    at Chart.update (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:665115:37)
    at new Chart (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:664885:18)
    at LensChart.renderChart (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:621292:20)
    at LensChart.componentDidMount (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:621194:12)
    at Yi (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:498798:411)
    at dk (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:498838:160)
    at exports.unstable_runWithPriority (https://c423289d4571da8d86ebae43fa8c07a0.lens.app:51084/build/lens.js?6acc7193d05d01771472:524456:343)