{"record":{"id":"d92a01b470f1c6d8","repo":"oracle/graal","slug":"interrupted-waiting-for-command-s","errorCode":null,"errorMessage":"Interrupted waiting for command: %s","messagePattern":"Interrupted waiting for command: (.+?)","errorType":"panic","errorClass":"GraalError","httpStatus":null,"severity":"error","filePath":"compiler/src/jdk.graal.compiler.libgraal/src/jdk/graal/compiler/libgraal/GetCompilerConfig.java","lineNumber":163,"sourceCode":"        command.add(debugPath.toString());\n\n        String quotedCommand = command.stream().map(e -> e.indexOf(' ') == -1 ? e : '\\'' + e + '\\'').collect(Collectors.joining(\" \"));\n        ProcessBuilder pb = new ProcessBuilder(command);\n        pb.inheritIO();\n        Process p;\n        try {\n            p = pb.start();\n        } catch (IOException ex) {\n            throw new GraalError(\"Error running command: %s%n%s\", quotedCommand, ex);\n        }\n\n        try {\n            int exitValue = p.waitFor();\n            if (exitValue != 0) {\n                throw new GraalError(\"Command finished with exit value %d (look for stdout and stderr above): %s\", exitValue, quotedCommand);\n            }\n        } catch (InterruptedException e) {\n            throw new GraalError(\"Interrupted waiting for command: %s\", quotedCommand);\n        }\n        try {\n            byte[] encodedConfig = Files.readAllBytes(encodedConfigPath);\n            if (DEBUG) {\n                System.out.printf(\"[%d] Executed: %s%n\", p.pid(), quotedCommand);\n                System.out.printf(\"[%d] Compiler config output saved in '%s'%n\", p.pid(), encodedConfigPath);\n                System.out.printf(\"[%d] Compiler config debug output saved in '%s'%n\", p.pid(), debugPath);\n            } else {\n                Files.deleteIfExists(encodedConfigPath);\n                Files.deleteIfExists(debugPath);\n            }\n            return new Result(encodedConfig, opens);\n        } catch (IOException e) {\n            throw new GraalError(e);\n        }\n    }\n}\n","sourceCodeStart":145,"sourceCodeEnd":181,"githubUrl":"https://github.com/oracle/graal/blob/a66e9ccd1d7bf2552883939aa0788dfd0e294aab/compiler/src/jdk.graal.compiler.libgraal/src/jdk/graal/compiler/libgraal/GetCompilerConfig.java#L145-L181","documentation":"Error \"Interrupted waiting for command: %s\" thrown in oracle/graal.","triggerScenarios":"Thrown at compiler/src/jdk.graal.compiler.libgraal/src/jdk/graal/compiler/libgraal/GetCompilerConfig.java:163 when the library encounters an invalid state.","commonSituations":"Occurs when a caller violates the contract guarded by this check: Interrupted waiting for command: {}","solutions":["Fix the condition reported by the error: Interrupted waiting for command: {}","Check the throwing call site and ensure its documented preconditions (argument values, types, environment, or configuration) are satisfied before the call."],"exampleFix":"Validate inputs and environment so that the failing condition does not occur: Interrupted waiting for command: {}","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a66e9ccd1d7bf2552883939aa0788dfd0e294aab","analyzedAt":"2026-08-14T13:58:47.161Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}