{"record":{"id":"c43448a0cec8be52","repo":"apache/hadoop","slug":"resourceskylines-for-recurrenceid-is-null-plea","errorCode":null,"errorMessage":"ResourceSkylines for ${recurrenceId} is null, please try again by specifying valid ResourceSkylines.","messagePattern":"ResourceSkylines for (.+?) is null, please try again by specifying valid ResourceSkylines\\.","errorType":"exception","errorClass":"NullResourceSkylineException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-resourceestimator/src/main/java/org/apache/hadoop/resourceestimator/skylinestore/validator/SkylineStoreValidator.java","lineNumber":96,"sourceCode":"  /**\n   * Check if recurrenceId is <em>null</em> or resourceSkylines is\n   * <em>null</em>.\n   *\n   * @param recurrenceId     the id of the recurring pipeline job.\n   * @param resourceSkylines the list of {@link ResourceSkyline}s to be added.\n   * @throws SkylineStoreException if input parameters are invalid.\n   */\n  public final void validate(final RecurrenceId recurrenceId,\n      final List<ResourceSkyline> resourceSkylines)\n      throws SkylineStoreException {\n    validate(recurrenceId);\n    if (resourceSkylines == null) {\n      StringBuilder sb = new StringBuilder();\n      sb.append(\"ResourceSkylines for \" + recurrenceId\n          + \" is null, please try again by \"\n          + \"specifying valid ResourceSkylines.\");\n      LOGGER.error(sb.toString());\n      throw new NullResourceSkylineException(sb.toString());\n    }\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());","sourceCodeStart":78,"sourceCodeEnd":114,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-resourceestimator/src/main/java/org/apache/hadoop/resourceestimator/skylinestore/validator/SkylineStoreValidator.java#L78-L114","documentation":"Error \"ResourceSkylines for ${recurrenceId} is null, please try again by specifying valid ResourceSkylines.\" thrown in apache/hadoop.","triggerScenarios":"A skyline store operation is invoked with null resource skylines for the given recurrence id, failing validation.","commonSituations":"See trigger scenarios.","solutions":["Supply a non-null ResourceSkylines object for the recurrence id before calling the store."],"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"}