glassfish
  1. glassfish
  2. GLASSFISH-19928

[Batch RI] JobExecution returned by jobOperator.getJobExecutions(jobInstance) return null jobName

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b79
    • Fix Version/s: 4.0_b82_EE7MS7
    • Component/s: batch
    • Labels:
      None

      Description

      for (String jn : jobOperator.getJobNames()) {
      List<JobInstance> exe = jobOperator.getJobInstances(jn, 0, Integer.MAX_VALUE - 1);
      if (exe != null) {
      for (JobInstance ji : exe) {
      for (JobExecution je : jobOperator.getJobExecutions(ji))

      { je.getJobName() ===> returns null }

      }
      }
      }

      However, jobOperator.getJobExecution(executionId).getJobName() is not null

        Activity

        Hide
        ScottKurz added a comment -

        Fixed in 1.0-b21.

        Show
        ScottKurz added a comment - Fixed in 1.0-b21.
        Hide
        Mahesh Kannan added a comment -

        Yes. This has been fixed in b21

        Show
        Mahesh Kannan added a comment - Yes. This has been fixed in b21

          People

          • Assignee:
            Mahesh Kannan
            Reporter:
            Mahesh Kannan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: