Lens not booting

Hello. This is error message i get from latest lens

info:    тЦк [CREATE-ELECTRON-WINDOW]: Window "first-application-window" loaded +1s
[winston] Attempt to write logs with no transports, which can increase memory usage: {"level":"info","message":"[LENS-CORE-RENDERER]: loading finished for C:\\Users\\luphu\\AppData\\Roaming\\Lens\\lens-local-storage\\app.json"}
Error occurred in handler for 'state-snapshot-channel': SyntaxError: Unexpected token '', ""... is not valid JSON
    at JSON.parse (<anonymous>)
    at Object.parse (C:\Program Files\Lens\resources\app.asar\node_modules\@lensapp\utilities\dist\index.js:2040:29)
    at C:\Program Files\Lens\resources\app.asar\node_modules\@lensapp\fs\dist\index.js:1614:38
    at async instantiate (C:\Program Files\Lens\resources\app.asar\node_modules\@lensapp\persisted-state-for-main\dist\index.js:285:31)
    at async C:\Program Files\Lens\resources\app.asar\node_modules\@lensapp\persisted-state-for-main\dist\index.js:508:21
    at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:83724)
(node:23964) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. MaxListeners is 10. Use events.setMaxListeners() to increase limit
(Use `lens --trace-warnings ...` to show where the warning was created)
warn:    тЦк [RUN-MANY-OF-SLOW-RUNNABLES]: Slow runnable encountered: "lens-core-main:show-initial-window" (after-application-is-loaded-injection-token) +19s
info:    тЦк [LENS-SPACES-EXTENSION]: 23.01.2025, 10:53:41 loading remote spaces +2m
info:    тЦк [LENS-SPACES-EXTENSION]: 23.01.2025, 10:53:41 Remote Spaces loaded +262ms

And it’s not booting. Please, help

Edition Windows 11 Pro
Version 24H2
Installed on ‎12.‎12.‎2024
OS build 26100.2894
Experience Windows Feature Experience Pack 1000.26100.36.0

Lens 2025.1.161916-latest

app.json

{
  "main-view": {
    "selectedId": "cluster-component:/cluster/3875d2809b5f5fd6690d8e333f6439f0",
    "tabs": [
      {
        "title": "Welcome",
        "args": {
          "route": "/extension/lensapp--lenscloud-lens-extension/welcomepage"
        },
        "id": "welcome-component:once",
        "type": "welcome"
      },
      {
        "title": "Catalog",
        "id": "catalog-component:once",
        "type": "catalog"
      },
      {
        "title": "Catalog",
        "args": {
          "route": "/catalog/entity.k8slens.dev/General"
        },
        "id": "route-component:/catalog/entity.k8slens.dev/General",
        "type": "route-component"
      },
      {
        "title": "Catalog",
        "args": {
          "route": "/catalog/entity.k8slens.dev/KubernetesCluster"
        },
        "id": "route-component:/catalog/entity.k8slens.dev/KubernetesCluster",
        "type": "route-component"
      },
      {
        "title": "Cluster View",
        "args": {
          "route": "/cluster/6ef843dad4bb75ef042db61549e04a74"
        },
        "id": "cluster-component:/cluster/6ef843dad4bb75ef042db61549e04a74",
        "type": "cluster"
      },
      {
        "title": "Entity",
        "args": {
          "route": "/entity/6ef843dad4bb75ef042db61549e04a74/settings#metrics"
        },
        "id": "route-component:/entity/6ef843dad4bb75ef042db61549e04a74/settings",
        "type": "route-component"
      },
      {
        "title": "Catalog",
        "args": {
          "route": "/catalog/entity.k8slens.dev/WebLink"
        },
        "id": "route-component:/catalog/entity.k8slens.dev/WebLink",
        "type": "route-component"
      },
      {
        "title": "Cluster View",
        "args": {
          "route": "/cluster/2558feb0b9fe7bad66e77b61ba96d33e"
        },
        "id": "cluster-component:/cluster/2558feb0b9fe7bad66e77b61ba96d33e",
        "type": "cluster"
      },
      {
        "title": "Settings",
        "args": {
          "route": "/entity/6ef843dad4bb75ef042db61549e04a74/settings"
        },
        "id": "entity-settings-component:once",
        "type": "entity-settings"
      },
      {
        "title": "Cluster View",
        "args": {
          "route": "/cluster/a42b4f939ad1b4d6b720644b3081ff8d"
        },
        "id": "cluster-component:/cluster/a42b4f939ad1b4d6b720644b3081ff8d",
        "type": "cluster"
      },
      {
        "title": "Cluster View",
        "args": {
          "route": "/cluster/3875d2809b5f5fd6690d8e333f6439f0"
        },
        "id": "cluster-component:/cluster/3875d2809b5f5fd6690d8e333f6439f0",
        "type": "cluster"
      },
      {
        "title": "Entity",
        "args": {
          "route": "/entity/3875d2809b5f5fd6690d8e333f6439f0/settings#metrics"
        },
        "id": "route-component:/entity/3875d2809b5f5fd6690d8e333f6439f0/settings",
        "type": "route-component"
      }
    ]
  },
  "catalog-previous-active-tab": "entity.k8slens.dev/KubernetesCluster"
}

Hello @luphu
Did you try to reinstall Lens?

I believe that you could just delete the folder /Users/luphu/AppData/Roaming/Lens/lens-local-storage and try to reopen Lens (the file will get recreated). It seems the file got into a corrupted state.

If you get more of these notices for different folders, I’ll suggest to so a clean install, meaning: Uninstall Lens, delete the folder /Users/luphu/AppData/Roaming/Lens, and install the aforementioned version again 2025.1.161916-latest