[GH-ISSUE #3165] [BUG]: Cannot read properties of null (reading 'workspace') #2033

Closed
opened 2026-02-22 18:27:50 -05:00 by yindo · 5 comments
Owner

Originally created by @qileq on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3165

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Everytime I use @agent,the app will throw exception: Cannot read properties of null (reading 'workspace')

Image

version: v1.7.3-r2 Apple Silicon

Are there known steps to reproduce?

No response

Originally created by @qileq on GitHub (Feb 10, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3165 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? Everytime I use `@agent`,the app will throw exception: Cannot read properties of null (reading 'workspace') ![Image](https://github.com/user-attachments/assets/77a14bfb-0001-4c19-80a8-f72cf75b1acd) version: v1.7.3-r2 Apple Silicon ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:27:50 -05:00
yindo closed this issue 2026-02-22 18:27:50 -05:00
Author
Owner

@timothycarambat commented on GitHub (Feb 10, 2025):

Return to the home page and reopen that specific thread

@timothycarambat commented on GitHub (Feb 10, 2025): Return to the home page and reopen that specific thread
Author
Owner

@yeonzi commented on GitHub (Feb 11, 2025):

I’m experiencing the same issue even after following the suggested steps to return to the homepage and reopen the workspace.

I'm using version: v1.7.3-r2 Windows x64.

I have checked the log by the instructions here: https://docs.anythingllm.com/installation-desktop/debug#anythingllm-debug-mode-on-windows

The log generated when calling @agent is showing as:

[backend] info: [TELEMETRY SENT] {"event":"sent_chat","distinctId":"8aa79a93-42fa-4af8-81ce-033704ef4d0b","properties":{"multiUserMode":false,"LLMSelection":"ollama","Embedder":"native","VectorDbSelection":"lancedb","multiModal":false,"TTSSelection":"native","runtime":"desktop"}}
[backend] info: [Event Logged] - sent_chat
[backend] info: [NativeEmbedder] Initialized
@yeonzi commented on GitHub (Feb 11, 2025): I’m experiencing the same issue even after following the suggested steps to return to the homepage and reopen the workspace. I'm using version: v1.7.3-r2 Windows x64. I have checked the log by the instructions here: https://docs.anythingllm.com/installation-desktop/debug#anythingllm-debug-mode-on-windows The log generated when calling `@agent` is showing as: ``` [backend] info: [TELEMETRY SENT] {"event":"sent_chat","distinctId":"8aa79a93-42fa-4af8-81ce-033704ef4d0b","properties":{"multiUserMode":false,"LLMSelection":"ollama","Embedder":"native","VectorDbSelection":"lancedb","multiModal":false,"TTSSelection":"native","runtime":"desktop"}} [backend] info: [Event Logged] - sent_chat [backend] info: [NativeEmbedder] Initialized ```
Author
Owner

@eranco74 commented on GitHub (May 6, 2025):

I have the same issue with v1.8.0

Image

logs:
{"level":"info","message":"\u001b[36m[NativeEmbedder]\u001b[0m Initialized","service":"backend"}
{"level":"info","message":"\u001b[32m[Event Logged]\u001b[0m - sent_chat","service":"backend"}
{"level":"info","message":"\u001b[36m[NativeEmbedder]\u001b[0m Initialized","service":"backend"}

@eranco74 commented on GitHub (May 6, 2025): I have the same issue with v1.8.0 ![Image](https://github.com/user-attachments/assets/b849f465-39e9-466d-bce8-f39c0ffaeadf) logs: {"level":"info","message":"\u001b[36m[NativeEmbedder]\u001b[0m Initialized","service":"backend"} {"level":"info","message":"\u001b[32m[Event Logged]\u001b[0m - sent_chat","service":"backend"} {"level":"info","message":"\u001b[36m[NativeEmbedder]\u001b[0m Initialized","service":"backend"}
Author
Owner

@timothycarambat commented on GitHub (May 6, 2025):

The above can happen if

  • You deleted the thread you are on and page did not reload
  • You have another AnythingLLM server running on the same machine
  • The workspace on longer exists

Go to homepage, click back on workspace, then try again

@timothycarambat commented on GitHub (May 6, 2025): The above can happen if - You deleted the thread you are on and page did not reload - You have another AnythingLLM server running on the same machine - The workspace on longer exists Go to homepage, click back on workspace, then try again
yindo changed title from [BUG]: Cannot read properties of null (reading 'workspace') to [GH-ISSUE #3165] [BUG]: Cannot read properties of null (reading 'workspace') 2026-06-05 14:44:08 -04:00
Author
Owner

@rib1801 commented on GitHub (Apr 6, 2026):

I have the same issue.
I have it installed on two different users, windows 11.

On one of them, the issue stopped happening independently. On another user (not admin), still happenning on every workspace/thread

<!-- gh-comment-id:4195189603 --> @rib1801 commented on GitHub (Apr 6, 2026): I have the same issue. I have it installed on two different users, windows 11. On one of them, the issue stopped happening independently. On another user (not admin), still happenning on every workspace/thread
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2033