Error on launch since Lens 2026.1.161237-latest

Since the last update, I have an error when launching Lens that I cannot ignore.

OS: Windows 11 Business
Lens: 2026.1.161237-latest
Electron: 38.6.0
Chrome: 140.0.7339.249
Node: 22.21.1

Coponent stack:

at https://lens.app:56557/build/lens.js:172:31250
    at Suspense (<anonymous>)
    at https://lens.app:56557/build/lens.js:132:4830
    at https://lens.app:56557/build/lens.js:132:4547
    at div (<anonymous>)
    at div (<anonymous>)
    at E (https://lens.app:56557/build/lens.js:1231:55963)
    at div (<anonymous>)
    at https://lens.app:56557/build/lens.js:172:31250
    at HorizontalScrollbar (https://lens.app:56557/build/lens.js:1231:57870)
    at div (<anonymous>)
    at Tabs (https://lens.app:56557/build/lens.js:1226:89633)
    at div (<anonymous>)
    at Droppable (https://lens.app:56557/build/lens.js:2433:35921)
    at C (https://lens.app:56557/build/lens.js:2370:292450)
    at https://lens.app:56557/build/lens.js:132:4830
    at https://lens.app:56557/build/lens.js:132:4547
    at Mt (https://lens.app:56557/build/lens.js:2374:513)
    at App (https://lens.app:56557/build/lens.js:2433:19640)
    at ErrorBoundary (https://lens.app:56557/build/lens.js:2380:1010)
    at DragDropContext (https://lens.app:56557/build/lens.js:2433:21186)
    at https://lens.app:56557/build/lens.js:132:4830
    at https://lens.app:56557/build/lens.js:132:4547
    at div (<anonymous>)
    at https://lens.app:56557/build/lens.js:172:31250
    at Component (https://lens.app:56557/build/lens.js:2445:199144)
    at Suspense (<anonymous>)
    at https://lens.app:56557/build/lens.js:132:4830
    at https://lens.app:56557/build/lens.js:132:4547
    at div (<anonymous>)
    at https://lens.app:56557/build/lens.js:172:31250
    at div (<anonymous>)
    at https://lens.app:56557/build/lens.js:172:31250
    at div (<anonymous>)
    at div (<anonymous>)
    at KeyboardMouseShortcutScope (https://lens.app:56557/build/lens.js:1231:67043)
    at https://lens.app:56557/build/lens.js:172:31250
    at ErrorBoundary (https://lens.app:56557/build/lens.js:1231:60270)
    at O (https://lens.app:56557/build/lens.js:172:30097)
    at main (<anonymous>)
    at div (<anonymous>)
    at RootLayout (https://lens.app:56557/build/lens.js:2445:165117)
    at https://lens.app:56557/build/lens.js:172:31250
    at div (<anonymous>)
    at ScopedListener (https://lens.app:56557/build/lens.js:1231:73745)
    at GlobalListener (https://lens.app:56557/build/lens.js:1231:73429)
    at Component (https://lens.app:56557/build/lens.js:1231:73195)
    at Suspense (<anonymous>)
    at https://lens.app:56557/build/lens.js:132:4830
    at https://lens.app:56557/build/lens.js:172:31250

Error stack:

Error: Tried to inject non-registered injectable "renderer" -> "application:start-application" -> "application:start-application-promise" -> "run-many-feature:run-many" -> "(on-load-of-application)" -> "main-view-feature:start-for-start-updating-on-selected-tab-change-handlers" -> "main-view-feature:startable-for-start-updating-on-selected-tab-change-handlers" -> "main-view-feature:on-selected-tab-change-handlers-startable-stoppable" -> "computed-inject-many-settled:computed-inject-many-settled" -> "computed-inject-many-settled:computed-inject-many-settled-with-meta" -> "computed-inject-many-with-meta" -> "reactive-instances-with-meta" -> "(main-view:tab-is-hidden/route-component)" -> "lens-spaces-renderer:is-space-preferences-tab-hidden" -> "(get-legacy-route-component-reactive)".
    at https://lens.app:56557/build/lens.js:20:40438
    at https://lens.app:56557/build/lens.js:20:41278
    at Object.inject (https://lens.app:56557/build/lens.js:20:40237)
    at Object.g [as inject] (https://lens.app:56557/build/lens.js:20:35807)
    at instantiate (https://lens.app:56557/build/lens.js:3424:10936)
    at https://lens.app:56557/build/lens.js:20:36742
    at f (https://lens.app:56557/build/lens.js:20:36809)
    at https://lens.app:56557/build/lens.js:20:41358
    at https://lens.app:56557/build/lens.js:20:40237
    at https://lens.app:56557/build/lens.js:20:39762

Hi @kevinhellot,
Thanks for reporting this and welcome to the community! — we’re aware of the issue and we’ve already flagged it internally with the team. In the meantime, the quickest workaround is to reset the persisted tab state and restart Lens:

  • macOS: rm ~/Library/Application\ Support/Lens/persisted-state/main-view-feature/tabs.json
  • Windows: del "%APPDATA%\Lens\persisted-state\main-view-feature\tabs.json"
  • Linux: rm ~/.config/Lens/persisted-state/main-view-feature/tabs.json
2 Likes

This solution worked. Thank you!