NPE Errors on "Navigate > File..." #6948
Labels
awaiting-maintainer
Awaiting review from Bazel team on issues
product: IntelliJ
IntelliJ plugin
type: bug
Description of the bug:
An engineer on team is running the beta of the plugin
2024.10.22.0.2
on Intelli-J2024.2.4
and is finding that the code inBlazeModuleRendererFactory#getModuleTextWithIcon
is producing NPEs when they use the "Navigate > File..." function;The value which is unexpectedly
null
issourceRoot
here;I have added the following lines below this one in the source;
I am unable to share the output, but the PSI elements and corresponding files are part of the project's regular files and map to sensible looking
VirtualFile
objects. They have tried to re-index but the problem persists. Other engineers do not see this problem.The null-check code above will simply mask the real problem so may not be desirable, but may be better than no fix as it otherwise fails the impacted UI function entirely.
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
It has not been possible to reproduce the bug.
Which Intellij IDE are you using? Please provide the specific version.
Intelli-J 2024.2.4
What programming languages and tools are you using? Please provide specific versions.
No response
What Bazel plugin version are you using?
2024.10.22.0.2
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: