lensapp / lens

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

clicking on any element gives this error #8043

Closed Daxcor69 closed 4 months ago

Daxcor69 commented 5 months ago

Component stack:

at d (C:\Users\Brad\.k8slens\extensions\kubescape--lens-extension\dist\renderer.js:1:33486)
at Details
at div
at div
at div
at NonInjectedAnimate (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:568751:34)
at NonInjectedDrawer (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:631873:25)
at observerComponent (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:268056:16)
at ObserverComponent (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:268104:23)
at NonInjectedErrorBoundary (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:633171:32)
at observerComponent (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:268056:16)
at ObserverComponent (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:268104:23)
at observerComponent (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:268056:16)
at NonInjectedKeyboardShortcutListener (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:637940:3)
at ThemeProvider (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:133241:24)
at https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:585343:18
at Router (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:500217:30)
at https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:585343:18
at observerComponent (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:268056:16)

Error stack:

TypeError: Cannot read properties of undefined (reading 'controls') at d.render (C:\Users\Brad.k8slens\extensions\kubescape--lens-extension\dist\renderer.js:1:33585) at qi (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:498766:188) at pi (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:498765:173) at ck (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:498848:427) at bk (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:498829:347) at ak (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:498829:278) at Tj (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:498829:138) at Lj (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:498822:163) at https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:498702:115 at exports.unstable_runWithPriority (https://82f2b4fc578b78171afd5e0c18800cb8.lens.app:49952/build/lens.js?80f171b722b47f88d6a8:524456:343)

windows 11 home node 20 lts

Application is totally unusable.

LarryBetson commented 4 months ago

I have the same exact issue. The application is useless in this state?

jakolehm commented 4 months ago

Based on the error stack it's caused by kubescape extension. Can you try to uninstall/disable it or does the error happen immediately when app boots?

Daxcor69 commented 4 months ago

I don’t have kubescape installed. Could it be the Kubernetes extension in vscode? It happens only when I go to open a manifest of an object. So I can list the nodes, but when I click on the node to see details is when it happens.

Brad

From: Jari Kolehmainen @.> Sent: Tuesday, May 28, 2024 5:56 AM To: lensapp/lens @.> Cc: Brad @.>; Author @.> Subject: Re: [lensapp/lens] clicking on any element gives this error (Issue #8043)

Based on the error stack it's caused by kubescape extension. Can you try to uninstall/disable it or does the error happen immediately when app boots?

— Reply to this email directly, view it on GitHub https://github.com/lensapp/lens/issues/8043#issuecomment-2135035695, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOXQ5RVOFFTSW2DAZHCP7OTZERWGBAVCNFSM6AAAAABG5JNS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGAZTKNRZGU . You are receiving this because you authored the thread.Message ID: < @.***>

Daxcor69 commented 4 months ago

I found the extension. I have disabled it and everything is working fine now. Didn’t realize that I had enabled that extension. Sorry to bother.

Brad

From: Jari Kolehmainen @.> Sent: Tuesday, May 28, 2024 5:56 AM To: lensapp/lens @.> Cc: Brad @.>; Author @.> Subject: Re: [lensapp/lens] clicking on any element gives this error (Issue #8043)

Based on the error stack it's caused by kubescape extension. Can you try to uninstall/disable it or does the error happen immediately when app boots?

— Reply to this email directly, view it on GitHub https://github.com/lensapp/lens/issues/8043#issuecomment-2135035695, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOXQ5RVOFFTSW2DAZHCP7OTZERWGBAVCNFSM6AAAAABG5JNS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGAZTKNRZGU . You are receiving this because you authored the thread.Message ID: < @.***>

jakolehm commented 4 months ago

Glad that it worked, closing because the issue seems to be resolved.