-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension never activates, throwing error "Header must provide a Content-Length property" #2577
Comments
same issue on: VS code versions 1.68.1 and 1.67.0 JDK version 11.0.12 (oracle) i hope this is fixed soon because i straight up cannot work on java properly in vs code right now |
Seems to be similar to #2292 |
same issue here, out of the blue it just stopped working. Operating System: Windows 10 Enterprise (10.0.19044)
|
In my case, adding languageclient has receiving rpc response with error messages as follows.
PanwHooks seems to be related to Palo Alto Networks products, which this product seems to injecting DLLs into the JVM. |
@muchida6 |
I'm getting the same error. The workaround given by @muchida6 worked for me. |
Thanks @MarcSerret51 . It is working now. |
@muchida6 thanks for finding that out. Where did you see the "Re-registering of platform native method: java.lang.PanwHooks.NativeMethodEntry" response? in some logs or while debugging vscode? |
I would also like to know where this response was found. I didn't see it locally but that could just mean I missed an important debug step |
@muchida6 Great Thanks!! btw, now junit test stuck at resolving launch config from debugger for java extension, but I can live with that :-D |
@fbricon @Foxhunter981 I was just trying to debug. |
@victorlee0505 Running the junit test by |
i added these 2 enties in setting.json to make test runner and springboot dashboard works!
|
@muchida6 thank's dude it's working on me :) |
@muchida6 |
I'm not having this specific problem, but the related problem mentioned here Regardless, VS Code is basically the equivalent of notepad on windows for me, until this is fixed. |
@jmihalichuber could you, please, attach your logs - Enable Logging |
Hi Joe @jmihalichuber Did you find any solution i am also stuck, i tried the workaround it is not working.? Does installing another version will help ? |
- Since any JVM component may invoke logging, it may be best to disable all logging - Related redhat-developer#2577 - Fixes redhat-developer#2292 Signed-off-by: Roland Grunberg <[email protected]>
- Since any JVM component may invoke logging, it may be best to disable all logging - Related #2577 - Fixes #2292 Signed-off-by: Roland Grunberg <[email protected]>
As per the title, the extension never activates; the java language server status never switches to the thumbs-up. The extension runtime status shows 37 copies of the same uncaught error:
Header must provide a Content-Length property.
The developer tools logs show the same error, slightly more verbosely:Environment
Steps To Reproduce
"java.jdt.ls.java.home": "C:\\Program Files\\Eclipse Adoptium\\jdk-17.0.3.7-hotspot"
language server logs
dev tools console logs
The text was updated successfully, but these errors were encountered: