Skip to content

Error: Cannot resolve tree item for element #832

Open
@andersmmg

Description

I get this error often when I change or sometimes even view non-java files in my project. It makes all those resources disappear from the project and they will be unavailable when running it. I have to reload java and gradle and it usually fixes it but takes a while and it happens pretty often lately.

2024-04-28 18:26:15.812 [error] Error: Cannot resolve tree item for element 0/0:[redacted]/0:src//main/resources/0:assets/0:[redacted]/0:blockstates from extension vscjava.vscode-java-dependency
	at /usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:154:43373

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions