Closed niklassemmler closed 4 months ago
Oh, could you please try with the newest intellij versions? We don't support the plugin for 2022.3, probably the one you have doesn't even support new bazel versions
Thank you @tpasternak! I assumed Intellij would auto-update. Upgrading intellij fixed the issue.
Description of the bug:
I created a basic bazel Java project that includes Junit test cases. During the execution I run into the error
Error: type 'depset' has no operator [](int)
. If I remove the following argument from the build process it works:--aspects=@@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect "--override_repository=intellij_aspect=/Users/niklassemmler/Library/Application Support/JetBrains/IdeaIC2022.3/plugins/ijwb/aspect"
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
git clone https://github.com/niklassemmler/java_bazel_proj
Then either run
bash produce_error.sh
Or
Which Intellij IDE are you using? Please provide the specific version.
2022.3.2 (CE) / Build #IC-223.8617.56
What programming languages and tools are you using? Please provide specific versions.
Java, Junit, Bazel
What Bazel plugin version are you using?
2023.07.04.0.1-api-version-223 / bazel 7.1.1-homebrew
Have you found anything relevant by searching the web?
Not really.
Some sites recommend to set
build --incompatible_depset_is_not_iterable=false
but this doesn't work with my version of bazelAny other information, logs, or outputs that you want to share?
The error output