krasa / VisualVMLauncher

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7115
Apache License 2.0
108 stars 19 forks source link

VisualVM error "Could not open requested application" every single time #42

Open 183773111 opened 2 years ago

183773111 commented 2 years ago

Each time you click the "Run with VisualVM" button on the idea, the first time you cannot open the visualVM, the second time you can open it, but the error "Could not open requested application" will be reported. As long as you click the "Return" button on the idea fast enough, the VisualVM will display the memory of the last closed project; My idea version 2022.2.3;

After reading the idea log, "VisualVMContext is null" will be displayed. The source code has a special judgment on "vmContext", so the log above is available;

image

image

image

krasa commented 2 years ago

which run configuration does this?

image

183773111 commented 2 years ago

like this

image

my idea configuration image

image

krasa commented 2 years ago

This one please, what type is it? image

183773111 commented 2 years ago

Simple springboot application.

krasa commented 2 years ago

Thanks, reproduced.

Naros commented 1 year ago

Any update?

krasa commented 1 year ago

sorry, no time