Description of the bug:
I'm not sure I've configured everything correctly, but I'm pretty sure an "unrecoverable error" shouldn't be occurring anyways. The rule in question is an "android_local_test". See the next section for instructions on reproduction.
bazel build @@//:GetProvisioningModeActivityTest
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:GetProvisioningModeActivityTest (123 packages loaded, 2084 targets configured).
[1 / 1] checking cached actions
FATAL: bazel crashed due to an internal error. Printing stack trace:
java.lang.RuntimeException: Unrecoverable error while evaluating node 'ActionLookupData3{actionLookupKey=ConfiguredTargetKey{label=//:GetProvisioningModeActivityTest, config=BuildConfigurationKey[b2c79ba563c5c430c2d80869a5b38c4137f7418fd255f18fa6221441ea694164]}, actionIndex=3}' (requested by nodes 'ArtifactNestedSetKey[2]@1114439354')
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:550)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:414)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "replacement" is null
at com.google.devtools.build.lib.util.StringUtilities.replaceAllLiteral(StringUtilities.java:70)
at com.google.devtools.build.lib.analysis.actions.LocalTemplateExpansionStrategy.getExpandedTemplateUnsafe(LocalTemplateExpansionStrategy.java:80)
at com.google.devtools.build.lib.analysis.actions.LocalTemplateExpansionStrategy.expandTemplate(LocalTemplateExpansionStrategy.java:48)
at com.google.devtools.build.lib.analysis.actions.TemplateExpansionAction.execute(TemplateExpansionAction.java:140)
at com.google.devtools.build.lib.analysis.actions.TemplateExpansionAction.execute(TemplateExpansionAction.java:160)
at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$ActionRunner.executeAction(SkyframeActionExecutor.java:1144)
at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$ActionRunner.run(SkyframeActionExecutor.java:1061)
at com.google.devtools.build.lib.skyframe.ActionExecutionState.runStateMachine(ActionExecutionState.java:165)
at com.google.devtools.build.lib.skyframe.ActionExecutionState.getResultOrDependOnFuture(ActionExecutionState.java:94)
at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor.executeAction(SkyframeActionExecutor.java:558)
at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.checkCacheAndExecuteIfNeeded(ActionExecutionFunction.java:859)
at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.computeInternal(ActionExecutionFunction.java:333)
at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.compute(ActionExecutionFunction.java:171)
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:461)
... 7 more
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.
Which operating system are you running Bazel on?
macOS
What is the output of bazel info release?
release 7.0.2
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse HEAD ?
https://github.com/gottagofaster236/android-testdpc
84c37ea28d23b5cf69882e674126993bf74eb770
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
#6170
#5296
Any other information, logs, or outputs that you want to share?
No response
Description of the bug:
I'm not sure I've configured everything correctly, but I'm pretty sure an "unrecoverable error" shouldn't be occurring anyways. The rule in question is an "android_local_test". See the next section for instructions on reproduction.
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.
bazel build @@//:GetProvisioningModeActivityTestWhich operating system are you running Bazel on?
macOS
What is the output of
bazel info release?release 7.0.2
If
bazel info releasereturnsdevelopment versionor(@non-git), tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD?Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
#6170
#5296
Any other information, logs, or outputs that you want to share?
No response