Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.1.0
-
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.