Skip to content

fix: handle the issueCache" is null NullPointerException#333

Merged
acke merged 1 commit intomainfrom
fix/removeAllIssues_nullpointer
Oct 14, 2025
Merged

fix: handle the issueCache" is null NullPointerException#333
acke merged 1 commit intomainfrom
fix/removeAllIssues_nullpointer

Conversation

@acke
Copy link
Copy Markdown
Contributor

@acke acke commented Oct 13, 2025

Description

Handle the issueCache" is null NullPointerException.

java.lang.NullPointerException: Cannot invoke "io.snyk.languageserver.SnykIssueCache.removeAllIssuesForPath(String)" because "issueCache" is null
at io.snyk.languageserver.protocolextension.SnykExtendedLanguageClient.populateIssueCache(SnykExtendedLanguageClient.java:757)
at io.snyk.languageserver.protocolextension.SnykExtendedLanguageClient.publishDiagnostics316(SnykExtendedLanguageClient.java:728)

Checklist

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

@acke acke requested review from a team as code owners October 13, 2025 08:56
@snyk-io
Copy link
Copy Markdown

snyk-io bot commented Oct 13, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Copy Markdown
Contributor

@rrama rrama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@acke acke merged commit 07ea3fc into main Oct 14, 2025
8 checks passed
@acke acke deleted the fix/removeAllIssues_nullpointer branch October 14, 2025 09:24
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