Skip to content

milvus: 解决一些 NPE 空指针问题 - #2

Open
TommyLemon wants to merge 1 commit into
colorknight:masterfrom
APIJSON:master
Open

milvus: 解决一些 NPE 空指针问题#2
TommyLemon wants to merge 1 commit into
colorknight:masterfrom
APIJSON:master

Conversation

@TommyLemon

@TommyLemon TommyLemon commented Jan 5, 2024

Copy link
Copy Markdown

关联 issue:
#1

image

Caused by: java.lang.NullPointerException: Cannot invoke "io.milvus.grpc.SearchResults.getResults()" because the return value of "io.milvus.param.R.getData()" is null
at org.datayoo.moql.querier.milvus.MilvusQuerier.toRecordSet(MilvusQuerier.java:160)
at org.datayoo.moql.querier.milvus.MilvusQuerier.query(MilvusQuerier.java:140)
at org.datayoo.moql.querier.milvus.MilvusQuerier.query(MilvusQuerier.java:118)
at apijson.demo.DemoSQLExecutor.execute(DemoSQLExecutor.java:234)
at apijson.orm.AbstractParser.executeSQL(AbstractParser.java:2032)
... 71 more

@colorknight

Copy link
Copy Markdown
Owner

感谢你的贡献,部分接受了你的npe修改思路,将在近2天发布一个版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants