Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntelliJ 2019.2.2 plugin crashes (NullPointerException) #1161

Closed
gertvdijk opened this issue Sep 11, 2019 · 1 comment
Closed

IntelliJ 2019.2.2 plugin crashes (NullPointerException) #1161

gertvdijk opened this issue Sep 11, 2019 · 1 comment

Comments

@gertvdijk
Copy link

gertvdijk commented Sep 11, 2019

Environment: Ubuntu 18.04, OpenJDK-8, project: gerrit branch master (currently @ ac917a921173a23cf8fb01ab16d8aacd9f9bf376).

Steps to reproduce:

  1. Recursive clone of Gerrit Code Review:

    $ git clone https://gerrit.googlesource.com/gerrit
    $ cd gerrit
    $ git checkout ac917a921173a23cf8fb01ab16d8aacd9f9bf376
    $ git submodule update --init
    
  2. Install IDEA Ultimate 2019.2.2

  3. Install Bazel plugin (currently offered: 2019.08.19.0.5)

  4. Configure Bazel plugin to use Bazelisk binary (or install Bazel 0.29.1 or 1.0.0rc2, happens with both, and make sure it's on PATH).

  5. Import Bazel project (Gerrit) via project view file .bazelproject.

  6. Fully sync project.

  7. Observe IDE error message. Stacktrace attached: bazel-plugin-stacktrace.txt

All works fine with 2019.1.x (which will then offer an older Bazel-IntelliJ plugin), and then making sure Bazel version is 0.29.1 instead of 1.0.0rc2 via Bazelisk.

Another project (internal) runs perfectly fine with the same IntelliJ configuration. So, it's probably something in the Gerrit code base triggering this (a warning of some sort, as problems.BlazeProblemsView.createToolWindow in the traceback indicates).

@gertvdijk
Copy link
Author

Via #1166, also fixes the NPE for me. Apparently this is fixed @ HEAD, but unreleased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant