Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1178

On removing the order from the daily plan after deleting the Schedule or Calendar JOC Cockpit throws NullPointerException on the DailyPlan view

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1
    • None
    • None

    Description

      Current Situation

      On removing the order from the daily plan after deleting the Calendar or Schedule after cancelling and removing the submitted order, JOC Cockpit throws the below exception:

      ERROR qtp1634198-15 c.s.j.c.JOCDefaultResponse - java.lang.NullPointerExceptionjava.lang.NullPointerException: null at com.sos.webservices.order.impl.DailyPlanDeleteOrdersImpl.deleteOrdersFromPlan(DailyPlanDeleteOrdersImpl.java:90) ~[sos-webservices-order-2.1.0.jar:?]

      How to Reproduce

      • Create a workflow, a calendar, a schedule and assign the schedule to the workflow.
      • Release and deploy workflow, calendar and schedule respectively.
      • Create the daily plan for the specified schedule
      • Switch to the configuration tab and delete the Schedule or Calendar.
      • Switch to the "DAILY PLAN" tab choose a date from the Daily plan calendar for which an order for the above scheduler/workflow has been submitted.
      • Then cancel this order. and remove this order. On removing, it throws the NullPointerException.

      Desired Behavior

      The JOC Cockpit should not throw an exception on DailyPlan view on cancelling and removing the submitted order once the calendar or schedule is deleted.

      Attachments

        Activity

          People

            re Robert Ehrlich
            divyani-rathore Divyani Rathore
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: