Skip to content

Conversation

zhangshenghang
Copy link
Collaborator

@zhangshenghang zhangshenghang commented Jun 9, 2025

Describe what this PR does / why we need it

Caused by: java.lang.NullPointerException: null
	at java.base/java.util.Objects.requireNonNull(Objects.java:208) ~[na:na]
	at java.base/java.util.ImmutableCollections$MapN.<init>(ImmutableCollections.java:1186) ~[na:na]
	at java.base/java.util.Map.of(Map.java:1540) ~[na:na]
	at com.alibaba.cloud.ai.service.VectorStoreService.convertToDocument(VectorStoreService.java:286) ~[classes/:na]
	

Because the "samples" field was not set

image

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

@github-actions github-actions bot added the area/nl2sql SAA nl2sql module label Jun 9, 2025
@zhangshenghang zhangshenghang changed the title fix : fxi nl2sql exception fix: fix nl2sql exception Jun 9, 2025
@zhangshenghang zhangshenghang changed the title fix: fix nl2sql exception fix(core): fix nl2sql exception Jun 9, 2025
@Aias00 Aias00 merged commit e5da48d into alibaba:main Jun 9, 2025
9 checks passed
@zhangshenghang zhangshenghang deleted the nl2sql-add-simple-vector branch July 22, 2025 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/nl2sql SAA nl2sql module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants