IDE freezes (until timeout) if you set MIRRORD_IMPERSONATED_TARGET
env var in a java project with an invalid config.
#182
Labels
bug
Something isn't working
Bug Description
Long title, but that's what happens. If you set
MIRRORD_IMPERSONATED_TARGET
in the launcher options thingy for a java project, and themirrord.json
config file contains an error (missing comma is enough to trigger), then the IDE freezes until the timeout of 2 minutes is reached.mirrord-intellij/modules/core/src/main/kotlin/com/metalbear/mirrord/MirrordApi.kt
Lines 422 to 432 in 1652125
It only happens in java projects, but I'm not sure if it happens in different JVM projects, like kotlin samples, or even in different java project settings (my sample uses gradle, but don't know if maven also triggers it).
Steps to Reproduce
target
(java projects can't show the selection dialog for it), and a typo somewhere (add an extra comma, or remove one);MIRRORD_IMPERSONATED_TARGET={some-pod}
;Backtrace
No response
Relevant Logs
No response
Your operating system and version
linux
Local process
intellij with java "hello, world" sample
Local process version
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: