bazelbuild / intellij

IntelliJ plugin for Bazel projects
https://ij.bazel.build/
Apache License 2.0
760 stars 303 forks source link

Stacktraces in unit test results are not navigatable #5224

Open dkashyn-sfdc opened 1 year ago

dkashyn-sfdc commented 1 year ago

Description of the bug:

Stacktrace looks like just text and there is no way to click on it to get to particular class

image

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Run unit test that fails

Which Intellij IDE are you using? Please provide the specific version.

2023.2

What programming languages and tools are you using? Please provide specific versions.

Java

What Bazel plugin version are you using?

2023.07.18.0.1

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

mai93 commented 1 year ago

I could not reproduce this with the example project https://github.com/bazelbuild/intellij/tree/master/examples/java/greetings_project. Can you try with a recent plugin version, like 2023.08.01.0.1-api-version-232 from the beta channel?

image

dkashyn-sfdc commented 1 year ago

Based on

image

it feels like sources might be a factor here. I'll keep an eye on this!

JUnitCore is clickable now for me but some others don't.

dkashyn-sfdc commented 1 year ago

@mai93 I'm able to repro it in Gateway

Here is local where issue not happening

image

for the very same project AND test here is Gateway

image

not sure what to check...

Sources presence seems not a factor after all

image

@tpasternak @mai93 do you have any recommendations?

tpasternak commented 1 year ago

@dkashyn-sfdc is right, I reproduced the issue in Gateway. Looks like a gateway issue of course, but I'm not 100% sure yet