Skip to content

Conversation

@Gowtham-arja
Copy link

@Gowtham-arja Gowtham-arja commented Dec 28, 2025

This fixes #1502

@netomi netomi changed the title #1502 Fixing NullPointerException Fixing NullPointerException Dec 28, 2025
@netomi
Copy link
Contributor

netomi commented Dec 28, 2025

thanks for providing a fix, could you sign an ECA as described here: https://www.eclipse.org/legal/eca/ ?

Also could you work on a unit test for that issue?

@Gowtham-arja
Copy link
Author

Hi @netomi
Signed the ECA.
Added the unit test case as well. Please review.

@netomi
Copy link
Contributor

netomi commented Jan 1, 2026

Thanks for the PR, it would fix the problem afaict, however I still do not fully understand how this exception happens to occur in the first place.

The preview field does not correspond to the actual extension version that is returned, but rather to the latest active version of the same extension. I could not find a test case where this would return nothing for a given extension.

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.

NullPointerException when doing a query

2 participants