`/packages` sometimes returns `null` packages in the JSON array
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Reproduce the supplied /packages request and inspect the response around result[12], where null values are reported. Trace the endpoint implementation responsible for assembling the result array. Done means determining whether null entries are unintended and either preventing them or documenting the expected client behavior, with a regression test if the project has coverage for this endpoint.
Written by the indexing model from the issue text.
Description
When calling the /packages endpoint, sometimes some null elements are returned in the result array.
Unexpected JSON token at offset 10822: Expected start of the object '{', but had 'n' instead at path: $.result[12]
JSON input: .....size":206305105,"feature":[]},null,null,{"id":"8db33905b983f.....
Sorry that the exception doesn't give me the full JSON body, but we can see enough in the little fragment + the JSON path.
Is this expected? Should I just accept that there might be nulls in the array and filter them out on the client side?
- Dominant language
- Java
- Stars
- 154
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from foojayio/discoapi
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
-
bug
All issues in foojayio/discoapi
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100