Description
In previous version (I dont know cause of this is vscode itself or extension) when I create a final variable and not init it, vscode will suggest add this variable to class constructor. I just have to ctrl + . at class constructor and vscode will suggest add this variable to existing constructor. Now this feature is gone.
When I hover constructor there is an exception in log:
ERR Internal error.: Error: Internal error.
at /home/maychu1/.vscode-server/extensions/redhat.java-1.36.0-linux-x64/dist/extension.js:2:1072098
at re (/home/maychu1/.vscode-server/extensions/redhat.java-1.36.0-linux-x64/dist/extension.js:2:1072392)
at /home/maychu1/.vscode-server/extensions/redhat.java-1.36.0-linux-x64/dist/extension.js:2:1067176
at Immediate. (/home/maychu1/.vscode-server/extensions/redhat.java-1.36.0-linux-x64/dist/extension.js:2:1067196)
at process.processImmediate (node:internal/timers:483:21)
Step to produces:
Create a java class in spring boot project.
Create an empty constructor.
Create a final varibable.
Ctrl + . at class constructor

Activity
TechScar commentedon Feb 6, 2025
Can confirm I have the same problem. Definitely been facing this issue for at least a few months now, if not since mid-2024. Which is a shame, because it was such a helpful feature.
The
Language Support for Javaoutput prints the following error for me:I am running extension version 1.39.0 in VSCode version 1.96.4
datho7561 commentedon Jun 24, 2026
Seems to be working for me now. I'm guessing something in the past year fixed this. Let me know if you can still reproduce this.
TechScar commentedon Jun 25, 2026
Wow, I had completely forgotten about this issue - you are right, it's been working for a while now. Always nice when bugs fix themselves 😄