Skip to content

Conflict between vscode visualvm extension and run test with coverage #581

Description

@shoblingr

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

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions