select datasets error #11851

Closed
opened 2026-02-21 19:04:22 -05:00 by yindo · 2 comments
Owner

Originally created by @dragoalone on GitHub (Mar 20, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

8597-3349f9d5ea3c44e6.js:1 TypeError: Cannot read properties of null (reading 'vector_setting')
at 1340-f3ea53d9a13ada87.js:1:1159511
at rE (92df3e12-2414dde15c3f3d5d.js:1:40345)
at l$ (92df3e12-2414dde15c3f3d5d.js:1:59320)
at lU (92df3e12-2414dde15c3f3d5d.js:1:58165)
at lI (92df3e12-2414dde15c3f3d5d.js:1:57770)
at iZ (92df3e12-2414dde15c3f3d5d.js:1:121848)
at ia (92df3e12-2414dde15c3f3d5d.js:1:95166)
at 92df3e12-2414dde15c3f3d5d.js:1:94988
at il (92df3e12-2414dde15c3f3d5d.js:1:94995)
at oJ (92df3e12-2414dde15c3f3d5d.js:1:92351)
at nb (92df3e12-2414dde15c3f3d5d.js:1:26837)
at nw (92df3e12-2414dde15c3f3d5d.js:1:27575)
at 92df3e12-2414dde15c3f3d5d.js:1:28609
window.console.error @ 8597-3349f9d5ea3c44e6.js:1

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @dragoalone on GitHub (Mar 20, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 8597-3349f9d5ea3c44e6.js:1 TypeError: Cannot read properties of null (reading 'vector_setting') at 1340-f3ea53d9a13ada87.js:1:1159511 at rE (92df3e12-2414dde15c3f3d5d.js:1:40345) at l$ (92df3e12-2414dde15c3f3d5d.js:1:59320) at lU (92df3e12-2414dde15c3f3d5d.js:1:58165) at lI (92df3e12-2414dde15c3f3d5d.js:1:57770) at iZ (92df3e12-2414dde15c3f3d5d.js:1:121848) at ia (92df3e12-2414dde15c3f3d5d.js:1:95166) at 92df3e12-2414dde15c3f3d5d.js:1:94988 at il (92df3e12-2414dde15c3f3d5d.js:1:94995) at oJ (92df3e12-2414dde15c3f3d5d.js:1:92351) at nb (92df3e12-2414dde15c3f3d5d.js:1:26837) at nw (92df3e12-2414dde15c3f3d5d.js:1:27575) at 92df3e12-2414dde15c3f3d5d.js:1:28609 window.console.error @ 8597-3349f9d5ea3c44e6.js:1 ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug🤔 cant-reproduce labels 2026-02-21 19:04:22 -05:00
yindo closed this issue 2026-02-21 19:04:22 -05:00
Author
Owner
@dragoalone commented on GitHub (Mar 20, 2025): http://192.168.1.6:88/datasets/5e41788b-d5bb-4317-95dd-1a0b20063d8d/documents/4a2b93fb-87d0-4683-8d76-d3ad3ab1cdde/settings
Author
Owner

@dosubot[bot] commented on GitHub (Mar 20, 2025):

Hello @dragoalone, I'm here to help you with any bugs, questions, or contributions you might have. Let's tackle this together!

To resolve the "TypeError: Cannot read properties of null (reading 'vector_setting')" error in your self-hosted Dify version 1.1 setup using Docker, you can try the following workaround:

  1. This error occurs when using Milvus as a vector store with the "Hybrid Search" option set to "Weighted Score." To avoid this error, create a new knowledge base and set the "Hybrid Search" option to "Rerank Model" instead of "Weighted Score" [1][2].

  2. Additionally, consider updating to a newer version of Dify, as a hotfix has been planned to address this issue [3].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 20, 2025): <!-- Greeting --> Hello @dragoalone, I'm here to help you with any bugs, questions, or contributions you might have. Let's tackle this together! <!-- Answer --> To resolve the "TypeError: Cannot read properties of null (reading 'vector_setting')" error in your self-hosted Dify version 1.1 setup using Docker, you can try the following workaround: 1. This error occurs when using Milvus as a vector store with the "Hybrid Search" option set to "Weighted Score." To avoid this error, create a new knowledge base and set the "Hybrid Search" option to "Rerank Model" instead of "Weighted Score" <sup>[[1]](https://github.com/langgenius/dify/issues/16259)</sup><sup>[[2]](https://github.com/langgenius/dify/issues/16173)</sup>. 2. Additionally, consider updating to a newer version of Dify, as a hotfix has been planned to address this issue <sup>[[3]](https://github.com/langgenius/dify/issues/16142)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/5810623a-c2e5-45dc-9e7c-adb3f7927740?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/5810623a-c2e5-45dc-9e7c-adb3f7927740?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/5810623a-c2e5-45dc-9e7c-adb3f7927740?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/5810623a-c2e5-45dc-9e7c-adb3f7927740?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/5810623a-c2e5-45dc-9e7c-adb3f7927740?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/5810623a-c2e5-45dc-9e7c-adb3f7927740?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/5810623a-c2e5-45dc-9e7c-adb3f7927740?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11851