glassfish
  1. glassfish
  2. GLASSFISH-19856

[Batch RI] getEndTime() of a Job which is running throws Null Pointer Exception

    Details

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

      Description

      GF Nightly version: glassfish-4.0-b80-03_12_2013

      Steps:

      1) Start a job and use getEndTime() to get the EndTime of the running JOB
      (Same scenario can be achieved by Start a Job and execute "list-batch-jobs -l" in command line)

      list-batch-jobs -l command failed with Null Pointer Exception

      Exception during command
      java.lang.NullPointerException
      at com.ibm.jbatch.container.jobinstance.JobOperatorJobExecutionImpl.getEndTime(JobOperatorJobExecutionImpl.java:112)

        Activity

        Hide
        ScottKurz added a comment - - edited

        Should be fixed in jbatch 1.0-b20

        Show
        ScottKurz added a comment - - edited Should be fixed in jbatch 1.0-b20
        Hide
        Mahesh Kannan added a comment -

        Yes. I see this is fixed in b22

        Show
        Mahesh Kannan added a comment - Yes. I see this is fixed in b22

          People

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

            Dates

            • Created:
              Updated:
              Resolved: