question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[NICE TO HAVE] Unable to use Bazel Plugin with IDEA Ultimate 2019.3.3

See original GitHub issue
IntelliJ IDEA 2019.3.3  Build #IU-193.6494.35
JDK: 11.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
OS: Mac OS X
Plugin to blame: Bazel version: 9999
Last Action: EditorBackSpace
No SyncPlugin present which provides a default workspace type.

I have tries both official plugin from the marketplace and locally built from commit 06c777fa58b00c49fd887279df382f1c41ad49fc with the following command"

bazel build //ijwb:ijwb_bazel_zip --define=ij_product=intellij-ue-2019.3

I see the following exception in the IJ log:

java.lang.IllegalStateException: No SyncPlugin present which provides a default workspace type.
	at com.google.common.base.Preconditions.checkState(Preconditions.java:508)
	at com.google.idea.blaze.base.sync.projectview.LanguageSupport.getDefaultWorkspaceType(LanguageSupport.java:47)
   ....... etc (many lines removed)

I put together a detailed error report gist — please take a look if you need more information.

Please help. I am stuck! 🥺

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
rayman1104commented, Mar 23, 2020

@stefanobaghino-da I agree with you. I wonder what plugin is needed. Ill see if I can try to turn them all.

You were right, the problem is lack of some plugins. Empirically just determined that plugin is JUnit (at least it was a deal breaker for me).

1reaction
nollbitcommented, Mar 5, 2020

I had the same issue, and removing all configuration and restarting with default plugins solved the problem for me as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bazel - IntelliJ IDEs Plugin - JetBrains Marketplace
Support for Bazel run configurations for certain rule classes. ... Get. Compatible with IntelliJ IDEA (Ultimate, Community, Educational), GoLand and 2 more.
Read more >
Bazel Plugin - IntelliJ with Bazel
Bazel Plugin. Language support. Java; Python. Features. Import BUILD files into the IDE. Compile your project and get navigatable compile errors in the...
Read more >
IntelliJ: Working on multiple projects - Stack Overflow
I'm doing the same: import the main project, then I import my second project using 'import module', but later than - I got...
Read more >
Building IntelliJ Bazel Plugin from Sources
Bazel is a powerful open-source build and test tool similar to Make, Maven, and Gradle. It uses a human-readable, high-level build language ...
Read more >
C++20's Concepts, Go to Header/Source, and .lldbinit
Hi,. A new CLion 2019.3 EAP (build 193.5096.27) is now available! Get it from our website, via the Toolbox App, or as a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found