lensapp / lens

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

App crash when opening a deployment sidebar #8083

Open Tahir52 opened 2 weeks ago

Tahir52 commented 2 weeks ago

Describe the bug The app shows a error and component stack page when opening deployments side bar.

To Reproduce Steps to reproduce the behavior: Open and close multiple deployments in a short span.

Expected behavior The selected deployments side bars should open.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Logs:

App crash at /deployments
To help us improve the product please report bugs on[Lens Forums](https://forums.k8slens.dev/) or on our[Github](https://github.com/lensapp/lens/issues) issues tracker.

Component stack:

    at LensChart (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:621385:17)
    at observerComponent (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:268146:16)
    at div
    at div
    at observerComponent (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:268146:16)
    at NonInjectedDeploymentMetrics (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:105582:39)
    at observerComponent (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:268146:16)
    at Component16
    at div
    at div
    at div
    at NonInjectedAnimate (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:568855:34)
    at NonInjectedDrawer (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:631977:25)
    at observerComponent (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:268146:16)
    at ObserverComponent (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:268194:23)
    at NonInjectedErrorBoundary (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:633275:32)
    at observerComponent (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:268146:16)
    at ObserverComponent (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:268194:23)
    at observerComponent (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:268146:16)
    at NonInjectedKeyboardShortcutListener (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:638044:3)
    at ThemeProvider (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:133241:24)
    at https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:585447:18
    at Router (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:500321:30)
    at https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:585447:18
    at observerComponent (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:268146:16)
Error stack:

Error: 1716196201000 and 1725011964000 are too far apart with stepSize of 1 minute
    at TimeScale._generate (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:670637:19)
    at TimeScale.buildTicks (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:670571:92)
    at TimeScale.update (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:663319:27)
    at fitBoxes (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:662445:13)
    at Object.update (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:662575:13)
    at Chart._updateLayout (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:665397:17)
    at Chart.update (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:665328:14)
    at new Chart (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:665088:18)
    at LensChart.renderChart (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:621493:20)
    at LensChart.componentDidMount (https://f51aff60caf2aed98803328102b2052e.lens.app:49480/build/lens.js?c0cb8c2116cd7947ebb7:621395:12)
image
Tixon123 commented 1 week ago

Hello Tahir52,

Thank you for reaching out to Lens support!

Thank you for reporting a bug.

We are working on your issue. Stand by for further updates.

Best Regards, Tikhon Kudinov Lens Support Engineer Mirantis, In