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

IDE fatal error happens a few times a day (references BlazeImportSettings) #104

Closed
natansil opened this issue Jun 19, 2017 · 1 comment
Closed

Comments

@natansil
Copy link

IDE fatal error happens a few times a day.

intellij version 2017.1.4
bazel plugin version 2017.05.08.1
Details:

null BlazeImportSettings.
java.lang.IllegalStateException: null BlazeImportSettings.
	at com.google.idea.blaze.base.model.primitives.WorkspaceRoot.fromProject(WorkspaceRoot.java:68)
	at com.google.idea.blaze.base.lang.buildfile.references.ExternalWorkspaceReferenceFragment.resolveProjectWorkspaceFile(ExternalWorkspaceReferenceFragment.java:68)
	at com.google.idea.blaze.base.lang.buildfile.references.ExternalWorkspaceReferenceFragment.resolve(ExternalWorkspaceReferenceFragment.java:62)
	at com.google.idea.blaze.base.lang.buildfile.references.ExternalWorkspaceReferenceFragment.resolve(ExternalWorkspaceReferenceFragment.java:35)
	at com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.resolves(PsiMultiReference.java:59)
	at com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.lambda$static$0(PsiMultiReference.java:43)
	at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
	at java.util.TimSort.sort(TimSort.java:220)
	at java.util.Arrays.sort(Arrays.java:1438)
	at com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.chooseReference(PsiMultiReference.java:78)
	at com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.resolve(PsiMultiReference.java:126)
	at com.intellij.codeInsight.intention.AddAnnotationPsiFix.getContainer(AddAnnotationPsiFix.java:73)
	at com.intellij.codeInsight.intention.impl.AddAnnotationIntention.isAvailable(AddAnnotationIntention.java:52)
	at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.isAvailable(IntentionActionWrapper.java:60)
	at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:130)
	at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.a(ShowIntentionsPass.java:314)
	at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:155)
	at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:313)
	at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.a(ShowIntentionsPass.java:245)
	at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:221)
	at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:438)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1153)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:431)
	at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:556)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:501)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:430)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.d(PassExecutorService.java:406)
	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:142)
	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:242)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:404)
	at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:165)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
@brendandouglas
Copy link
Contributor

Thanks, we'll fix this up for the next release.

blorente pushed a commit to blorente/intellij that referenced this issue Oct 3, 2023
feat: Add commented-out gazelle target to default project view (bazelbuild#104)

feat(release): Publish IntelliJ CE version of the plugin. (bazelbuild#103)

feat(tools): Add script to check versions (bazelbuild#105)

Radar: rdar://110389652 (Opening section of Bazel plugin setup confusing.)

Co-authored-by: Daniel Wagner-Hall <dwagnerhall@apple.com>

build: Add release pipeline for version checker (bazelbuild#109)

Co-authored-by: Gibson Fahnestock <gib@apple.com>
blorente pushed a commit to blorente/intellij that referenced this issue Oct 24, 2023
feat: Add commented-out gazelle target to default project view (bazelbuild#104)

feat(release): Publish IntelliJ CE version of the plugin. (bazelbuild#103)

feat(tools): Add script to check versions (bazelbuild#105)

Radar: rdar://110389652 (Opening section of Bazel plugin setup confusing.)

Co-authored-by: Daniel Wagner-Hall <dwagnerhall@apple.com>

build: Add release pipeline for version checker (bazelbuild#109)

Co-authored-by: Gibson Fahnestock <gib@apple.com>

feat: capture sdk and bazel plugin info for radar (bazelbuild#117)

* feat: capture sdk and bazel plugin info for radar

* Fix issues for clion plugin version

Co-authored-by: Joshua Harris <jharris33@apple.com>

build(prb): Make prb test every version of released products

build(ci): Increase timeout in Rio

build(ci): Key version counters by product

build(ci): Make apple version checker publish optional

fix: Default to workspace to infer project name (bazelbuild#122)

Instead of defaulting to "the parent directory of the project view
file", which is rarely what we want.

feat: Add support for cc_gtest_testsuite in BUILD files (bazelbuild#121)
blorente pushed a commit to blorente/intellij that referenced this issue Nov 1, 2023
feat: Add commented-out gazelle target to default project view (bazelbuild#104)

feat(release): Publish IntelliJ CE version of the plugin. (bazelbuild#103)

feat(tools): Add script to check versions (bazelbuild#105)

Radar: rdar://110389652 (Opening section of Bazel plugin setup confusing.)

Co-authored-by: Daniel Wagner-Hall <dwagnerhall@apple.com>

build: Add release pipeline for version checker (bazelbuild#109)

Co-authored-by: Gibson Fahnestock <gib@apple.com>

feat: capture sdk and bazel plugin info for radar (bazelbuild#117)

* feat: capture sdk and bazel plugin info for radar

* Fix issues for clion plugin version

Co-authored-by: Joshua Harris <jharris33@apple.com>

build(prb): Make prb test every version of released products

build(ci): Increase timeout in Rio

build(ci): Key version counters by product

build(ci): Make apple version checker publish optional

fix: Default to workspace to infer project name (bazelbuild#122)

Instead of defaulting to "the parent directory of the project view
file", which is rarely what we want.

feat: Add support for cc_gtest_testsuite in BUILD files (bazelbuild#121)

cleanup: Enable --test_output=errors by default
blorente pushed a commit to blorente/intellij that referenced this issue Jan 30, 2024
docs(readme): Reformat readme, change rebase process
feat: Add commented-out gazelle target to default project view (bazelbuild#104)

feat(release): Publish IntelliJ CE version of the plugin. (bazelbuild#103)

feat(tools): Add script to check versions (bazelbuild#105)

Radar: rdar://110389652 (Opening section of Bazel plugin setup confusing.)

Co-authored-by: Daniel Wagner-Hall <dwagnerhall@apple.com>

build: Add release pipeline for version checker (bazelbuild#109)

Co-authored-by: Gibson Fahnestock <gib@apple.com>

feat: capture sdk and bazel plugin info for radar (bazelbuild#117)

* feat: capture sdk and bazel plugin info for radar

* Fix issues for clion plugin version

Co-authored-by: Joshua Harris <jharris33@apple.com>

build(prb): Make prb test every version of released products

build(ci): Increase timeout in Rio

build(ci): Key version counters by product

build(ci): Make apple version checker publish optional

fix: Default to workspace to infer project name (bazelbuild#122)

Instead of defaulting to "the parent directory of the project view
file", which is rarely what we want.

feat: Add support for cc_gtest_testsuite in BUILD files (bazelbuild#121)

cleanup: Enable --test_output=errors by default

feat(file-a-radar): add IntelliJ log to File a Radar draft

Turns out to be surprisingly easy to attach IntelliJ logs to the created
radar draft.

rdar://117680933 ([IDE] Capture IntelliJ log when Filing a Radar)

docs: Rewrite release instructions (bazelbuild#155)
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

2 participants