Skip to content

Fix NullPointerException in ReferenceProvider#118

Open
trustytrojan wants to merge 1 commit into
GroovyLanguageServer:masterfrom
trustytrojan:fix-reference-provider
Open

Fix NullPointerException in ReferenceProvider#118
trustytrojan wants to merge 1 commit into
GroovyLanguageServer:masterfrom
trustytrojan:fix-reference-provider

Conversation

@trustytrojan
Copy link
Copy Markdown
Contributor

@trustytrojan trustytrojan commented May 26, 2026

Fix a NullPointerException thrown in ReferenceProvider.provideReferences caused by ctrl+clicking on referencesBugA in referencesBugA.groovy in the following scenario:

// In file referencesBugA.groovy:
referencesBugA

// In another Groovy file in the same directory:
import referencesBugA

…ng references of an implicit script class while it is imported by another script
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.

1 participant