Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-166

Possible NullPointerException when restarting with null job parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0.Alpha1
    • 1.1.0.Final
    • jberet-core
    • None

      When restarting a killed or crashed job execution with null job parameters, there may be NullPointerException.

      Need to fix org.jberet.operations.JobOperatorImpl#restart to check for null restartParameters

      Note: this NPE does not happen when restarting a failed or stopped job execution with null restart parameters.

      As a workaround, restart a killed or crashed job execution with a non-null java.util.Properties

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: