java.lang.IllegalStateException: Unknown error during ConfigurationCollectionValue evaluation

GitHub | damienmg | 3 months ago
  1. 0

    Stack trace exception with an error in the workspace file and doing `bazel info`

    GitHub | 3 months ago | damienmg
    java.lang.IllegalStateException: Unknown error during ConfigurationCollectionValue evaluation
  2. 0

    IllegalStateException when printing cycle of actions

    GitHub | 6 months ago | endobson
    java.lang.IllegalStateException: Argument is not Action or OwnedArtifact: LabelAndConfiguration{label=//libraries:print-stack-function, configuration=3dd3f72e3e6a43ffd8ed51d262b1b935}

    Root Cause Analysis

    1. com.google.devtools.build.lib.packages.BuildFileContainsErrorsException

      error loading package '': Extension file not found. Unable to load package for '//third_party/gpus:cuda_configure.bzl': BUILD file not found on package path

      at com.google.devtools.build.lib.skyframe.PackageFunction.fetchImportsFromBuildFile()
    2. com.google.devtools
      BazelMain.main
      1. com.google.devtools.build.lib.skyframe.PackageFunction.fetchImportsFromBuildFile(PackageFunction.java:706)
      2. com.google.devtools.build.lib.skyframe.WorkspaceFileFunction.compute(WorkspaceFileFunction.java:107)
      3. com.google.devtools.build.skyframe.ParallelEvaluator.bubbleErrorUp(ParallelEvaluator.java:1591)
      4. com.google.devtools.build.skyframe.ParallelEvaluator.waitForCompletionAndConstructResult(ParallelEvaluator.java:1435)
      5. com.google.devtools.build.skyframe.ParallelEvaluator.eval(ParallelEvaluator.java:1404)
      6. com.google.devtools.build.skyframe.ParallelEvaluator.eval(ParallelEvaluator.java:1365)
      7. com.google.devtools.build.skyframe.InMemoryMemoizingEvaluator.evaluate(InMemoryMemoizingEvaluator.java:189)
      8. com.google.devtools.build.skyframe.SequentialBuildDriver.evaluate(SequentialBuildDriver.java:39)
      9. com.google.devtools.build.lib.skyframe.SkyframeExecutor.createConfigurations(SkyframeExecutor.java:1012)
      10. com.google.devtools.build.lib.runtime.CommandEnvironment.getConfigurations(CommandEnvironment.java:326)
      11. com.google.devtools.build.lib.runtime.commands.InfoCommand$1.get(InfoCommand.java:124)
      12. com.google.devtools.build.lib.runtime.commands.InfoCommand$1.get(InfoCommand.java:108)
      13. com.google.devtools.build.lib.runtime.commands.InfoCommand.exec(InfoCommand.java:175)
      14. com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.execExclusively(BlazeCommandDispatcher.java:488)
      15. com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:324)
      16. com.google.devtools.build.lib.runtime.CommandExecutor.exec(CommandExecutor.java:49)
      17. com.google.devtools.build.lib.server.RPCService.executeRequest(RPCService.java:70)
      18. com.google.devtools.build.lib.server.AfUnixServer.executeRequest(AfUnixServer.java:418)
      19. com.google.devtools.build.lib.server.AfUnixServer.serve(AfUnixServer.java:215)
      20. com.google.devtools.build.lib.runtime.BlazeRuntime.serverMain(BlazeRuntime.java:737)
      21. com.google.devtools.build.lib.runtime.BlazeRuntime.main(BlazeRuntime.java:519)
      22. com.google.devtools.build.lib.bazel.BazelMain.main(BazelMain.java:56)
      22 frames