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

Exception when doing sync #6721

Closed
tpasternak opened this issue Sep 4, 2024 · 5 comments
Closed

Exception when doing sync #6721

tpasternak opened this issue Sep 4, 2024 · 5 comments
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues type: bug

Comments

@tpasternak
Copy link
Collaborator

tpasternak commented Sep 4, 2024

Description of the bug:

comit 4acdddd

Could not save cache data file to disk.

java.lang.NullPointerException
	at com.google.devtools.intellij.model.ProjectData$ExternalWorkspace$Builder.setRepoName(ProjectData.java:35490)
	at com.google.idea.blaze.base.model.primitives.ExternalWorkspace.toProto(ExternalWorkspace.java:31)
	at com.google.idea.blaze.base.model.ExternalWorkspaceData.toProto(ExternalWorkspaceData.java:38)
	at com.google.idea.blaze.base.model.AspectSyncProjectData.toProto(AspectSyncProjectData.java:119)
	at com.google.idea.blaze.base.model.AspectSyncProjectData.saveToDisk(AspectSyncProjectData.java:218)
	at com.google.idea.blaze.base.sync.data.AspectSyncProjectDataManager.lambda$saveProject$0(AspectSyncProjectDataManager.java:103)
	at com.google.idea.blaze.base.async.executor.ProgressiveTaskWithProgressIndicator.lambda$submitTask$0(ProgressiveTaskWithProgressIndicator.java:83)
	at com.google.idea.blaze.base.async.executor.ProgressiveTaskWithProgressIndicator.lambda$submitTaskWithResult$4(ProgressiveTaskWithProgressIndicator.java:131)
	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:221)
	at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:49)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:220)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:202)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
	at com.google.idea.blaze.base.async.executor.ProgressiveTaskWithProgressIndicator.lambda$submitTaskWithResult$5(ProgressiveTaskWithProgressIndicator.java:131)
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:76)
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)

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.

No response

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

No response

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

No response

What Bazel plugin version are you using?

No response

Have you found anything relevant by searching the web?

No response

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

No response

@tpasternak tpasternak added type: bug awaiting-maintainer Awaiting review from Bazel team on issues labels Sep 4, 2024
@tpasternak
Copy link
Collaborator Author

Screenshot 2024-09-04 at 09 34 14

@tpasternak
Copy link
Collaborator Author

cc @mtoader

@mtoader
Copy link
Contributor

mtoader commented Sep 4, 2024

These proto wrappers are going to be the death of me :). I can put the fix in the pending PR or open another one. What do you prefer ?

@tpasternak
Copy link
Collaborator Author

no hurry, please open another one

@mtoader
Copy link
Contributor

mtoader commented Sep 4, 2024

Opened

mtoader added a commit to mtoader/intellij that referenced this issue Sep 4, 2024
mtoader added a commit to mtoader/intellij that referenced this issue Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues type: bug
Projects
None yet
Development

No branches or pull requests

5 participants