{"record":{"id":"fa674282c5a0256f","repo":"apache/hadoop","slug":"resource-allocation-for-pipelineid-is-null","errorCode":null,"errorMessage":"Resource allocation for ${pipelineId} is null.","messagePattern":"Resource allocation for (.+?) is null\\.","errorType":"exception","errorClass":"NullRLESparseResourceAllocationException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-resourceestimator/src/main/java/org/apache/hadoop/resourceestimator/skylinestore/validator/SkylineStoreValidator.java","lineNumber":115,"sourceCode":"    }\n  }\n\n  /**\n   * Check if pipelineId is <em>null</em> or resourceOverTime is <em>null</em>.\n   *\n   * @param pipelineId       the id of the recurring pipeline.\n   * @param resourceOverTime predicted {@code Resource} allocation to be added.\n   * @throws SkylineStoreException if input parameters are invalid.\n   */\n  public final void validate(final String pipelineId,\n      final RLESparseResourceAllocation resourceOverTime)\n      throws SkylineStoreException {\n    validate(pipelineId);\n    if (resourceOverTime == null) {\n      StringBuilder sb = new StringBuilder();\n      sb.append(\"Resource allocation for \" + pipelineId + \" is null.\");\n      LOGGER.error(sb.toString());\n      throw new NullRLESparseResourceAllocationException(sb.toString());\n    }\n  }\n}\n","sourceCodeStart":97,"sourceCodeEnd":119,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-resourceestimator/src/main/java/org/apache/hadoop/resourceestimator/skylinestore/validator/SkylineStoreValidator.java#L97-L119","documentation":"Error \"Resource allocation for ${pipelineId} is null.\" thrown in apache/hadoop.","triggerScenarios":"A skyline store update/delete is invoked with a null resource allocation for the given pipeline id, failing validation.","commonSituations":"See trigger scenarios.","solutions":["Ensure resource allocation data exists for the pipeline before querying it."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2add9630210752f88ceb1bb74eb65e37bf41da8e","analyzedAt":"2026-08-22T19:55:07.957Z","schemaVersion":2},"datasetVersion":"2026-08-22T20:17:22.307Z"}