Skip to content

"Internal error" logged by Spring Boot Language Server #1886

Closed

Description

@brianvfernandes

Editing/clicking in pom.xml of certain projects results in an "Internal error" being logged (trace below). Error could be logged repeatedly.

To Reproduce

  1. Checkout a plugin dev project, like org.eclipse.jdt.annotation
  2. Open the pom.xml with the Maven editor or the Generic Code Editor
  3. Click anywhere in the editor, or try to make edits - see "Internal error" logged repeatedly
  4. Reproduced in Spring Tools 5.1.1 but I believe it goes all the way back to when the Pom inlay hint was introduced

Dev Notes

  • Issue does not occur if Pom Xml content type is disabled for the Spring Boot Language server
  • Does not occur for all non-spring-boot Maven projects, but only some of them, like the plugin projects above
  • Debugged to find it seems to be caused by an NPE on line # 111 of PomInlayHintHandler (URI buildFileUri = jp.getProjectBuild().getBuildFile();) where jp.getProjectBuild() returns null. I did not debug further to figure out why this was null for certain projects, but I hope this helps fix the issue!

internal_error.log

Activity

  1. added a commit that references this issue on May 6, 2026
  2. added
    for: eclipse
    for: vscode
    and removed on May 6, 2026
  3. martinlippert commented on May 6, 2026

    @martinlippert
    Member

    Thanks a lot @brianvfernandes for reporting this, very much appreciated. Fixed now.

  4. added this to the 5.2.0.RELEASE milestone on May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: eclipsefor: vscodetype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions