visualvm icon indicating copy to clipboard operation
visualvm copied to clipboard

Conflict between vscode visualvm extension and run test with coverage

Open shoblingr opened this issue 1 year ago • 0 comments

Hi,

I'm running last version of VSCode (1.90.1) but I faced the issue also in previous version. In some case (but I have not identified the root cause of the issue), running tests with coverage fails with the error : Unrecognized option: -ea,-javaagent:/home/developer/.vscode-server/extensions/vscjava.vscode-java-test-0.41.1/server/jacocoagent.jar=destfile=/home/developer/.vscode-server/data/User/workspaceStorage/15bf8ecd44fd178433d9e2aa40f9af36/vscjava.vscode-java-test/app/coverage/jacoco.exec Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

To fix it, I have to disable VisualVM Extension. It is not systematic...

Any idea where the problem is comming from ? Do you need aditional informations ?

Thanks anyway for this great extension!

Stephane

shoblingr avatar Jun 19 '24 07:06 shoblingr