java.lang.IllegalStateException: topLevelKey: TARGET_PATTERN://... alreadyReported: false path to cycle: TARGET_PATTERN://... RECURSIVE_PKG:rootedPath=[/tmp/bazelbug]/[], excludedPaths=<omitted>) PACKAGE: PACKAGE:external EXTERNAL_PACKAGE:[/tmp/bazelbug]/[WORKSPACE] cycle: WORKSPACE_FILE:[/tmp/bazelbug]/[WORKSPACE], 1 SKYLARK_IMPORTS_LOOKUP:com.google.devtools.build.lib.skyframe.SkylarkImportLookupValue$SkylarkImportLookupKey@b748f0a1 AST_FILE_LOOKUP:@some_external//:rules.bzl PACKAGE_LOOKUP:@some_external// REPOSITORY:@some_external REPOSITORY_DIRECTORY:@some_external

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .

,

checkState() is Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met). This occurs when the precondition does not met.

Solutions on the web

via GitHub by nelhage
, 1 year ago
topLevelKey: TARGET_PATTERN://... alreadyReported: false path to cycle: TARGET_PATTERN://... RECURSIVE_PKG:rootedPath=[/tmp/bazelbug]/[], excludedPaths=<omitted>) PACKAGE: PACKAGE:external EXTERNAL_PACKAGE:[/tmp/bazelbug]/[WORKSPACE] cycle
via GitHub by patrickmcguire
, 1 year ago
topLevelKey: TARGET_PATTERN:syntaxnet/... alreadyReported: false path to cycle: TARGET_PATTERN:syntaxnet/... RECURSIVE_PKG:rootedPath=[/Users/me/models/syntaxnet]/[syntaxnet], excludedPaths=<omitted>) PACKAGE:syntaxnet cycle: PACKAGE:external
via GitHub by LimSM
, 11 months ago
=RegularFileArtifactValue{digest=[-1, -123, -2, 45, -102, 110, 58, 68, -3, 81, 60, 49, 12, 48, -68, 38], size=60}, ARTIFACT:volatile-status.txt com.google.devtools.build.lib.skyframe.WorkspaceStatusValue$BuildInfoKey@3f5f147a=RegularFileArtifactValue{digest=[-19
via GitHub by zhengchunxi
, 1 year ago
The path to the driver executable must be set by the phantomjs.binary.path capability/system property/PATH variable; for more information, see https://github.com/ariya/phantomjs/wiki. The latest version can be downloaded from http://phantomjs.org/download.html
via compuwareapm.com by Unknown author, 2 years ago
Running HTTP Server found in source: dynaTraceServer before I started one.Will not attempt to start.
via dynatrace.com by Unknown author, 1 year ago
Running HTTP Server found in source: dynaTraceServer before I started one.Will not attempt to start.
java.lang.IllegalStateException: topLevelKey: TARGET_PATTERN://... alreadyReported: false path to cycle: TARGET_PATTERN://... RECURSIVE_PKG:rootedPath=[/tmp/bazelbug]/[], excludedPaths=<omitted>) PACKAGE: PACKAGE:external EXTERNAL_PACKAGE:[/tmp/bazelbug]/[WORKSPACE] cycle: WORKSPACE_FILE:[/tmp/bazelbug]/[WORKSPACE], 1 SKYLARK_IMPORTS_LOOKUP:com.google.devtools.build.lib.skyframe.SkylarkImportLookupValue$SkylarkImportLookupKey@b748f0a1 AST_FILE_LOOKUP:@some_external//:rules.bzl PACKAGE_LOOKUP:@some_external// REPOSITORY:@some_external REPOSITORY_DIRECTORY:@some_external
at com.google.devtools.build.lib.util.Preconditions.checkState(Preconditions.java:201)
at com.google.devtools.build.skyframe.CyclesReporter.reportCycles(CyclesReporter.java:82)
at com.google.devtools.build.lib.skyframe.SkyframeTargetPatternEvaluator.parseTargetPatternKeys(SkyframeTargetPatternEvaluator.java:164)
at com.google.devtools.build.lib.skyframe.SkyframeTargetPatternEvaluator.parseTargetPatternList(SkyframeTargetPatternEvaluator.java:117)
at com.google.devtools.build.lib.skyframe.SkyframeTargetPatternEvaluator.parseTargetPatternList(SkyframeTargetPatternEvaluator.java:56)
at com.google.devtools.build.lib.skyframe.SkyframeTargetPatternEvaluator.parseTargetPattern(SkyframeTargetPatternEvaluator.java:62)
at com.google.devtools.build.lib.skyframe.SkyframeTargetPatternEvaluator.preloadTargetPatterns(SkyframeTargetPatternEvaluator.java:86)
at com.google.devtools.build.lib.query2.BlazeQueryEnvironment.preloadOrThrow(BlazeQueryEnvironment.java:436)
at com.google.devtools.build.lib.query2.AbstractBlazeQueryEnvironment.evaluateQuery(AbstractBlazeQueryEnvironment.java:112)
at com.google.devtools.build.lib.query2.BlazeQueryEnvironment.evaluateQuery(BlazeQueryEnvironment.java:126)
at com.google.devtools.build.lib.query2.BlazeQueryEnvironment.evaluateQuery(BlazeQueryEnvironment.java:66)
at com.google.devtools.build.lib.runtime.commands.QueryCommand.exec(QueryCommand.java:173)
at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.execExclusively(BlazeCommandDispatcher.java:488)
at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:324)
at com.google.devtools.build.lib.runtime.CommandExecutor.exec(CommandExecutor.java:49)
at com.google.devtools.build.lib.server.RPCService.executeRequest(RPCService.java:70)
at com.google.devtools.build.lib.server.AfUnixServer.executeRequest(AfUnixServer.java:418)
at com.google.devtools.build.lib.server.AfUnixServer.serve(AfUnixServer.java:215)
at com.google.devtools.build.lib.runtime.BlazeRuntime.serverMain(BlazeRuntime.java:737)
at com.google.devtools.build.lib.runtime.BlazeRuntime.main(BlazeRuntime.java:519)
at com.google.devtools.build.lib.bazel.BazelMain.main(BazelMain.java:56)

Users with the same issue

6 times, 1 week ago
30 times, 1 month ago
5 times, 1 month ago
Once, 2 months ago
790 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.