ZCM Agent missing bundles due to Invalid Availability Schedule

  • 7007408
  • 21-Dec-2010
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 3 - 10.3

Situation

Some assigned bundles did not show as assigned on the managed ZCM device due to an invalid Availability Schedule on one of the assigned bundles.

Resolution

Corrected the Availability schedule, which was scheduled for a "Specific Date", but did not have any date specified.

Additional Information

The zmd-messages.log will show an error similar to the following when Debug logging is enabled:
 
[DEBUG] [12/21/2010 14:23:39.015] [1548] [ZenworksWindowsService] [35] [TestPDM1] [AssignmentManager] [] [Unexpected exception during refresh: Novell.Zenworks.Tess.Scheduler.Schedules.ScheduleCreationException: Failed to create schedule ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Novell.Zenworks.Tess.Scheduler.Schedules.SpecifiedDaysSchedule..ctor(ScheduleData data)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object() args, SignatureStruct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object() args, SignatureStruct signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object() parameters, CultureInfo culture)
   at Novell.Zenworks.Tess.Scheduler.Schedules.Schedule.createSchedule(ScheduleData data)
   --- End of inner exception stack trace ---
   at Novell.Zenworks.Tess.Scheduler.Schedules.Schedule.createSchedule(ScheduleData data)
   at Novell.Zenworks.Tess.Scheduler.Schedules.Schedule.createSchedule(String xmlString)
   at Novell.Zenworks.AssignmentManager.AssignmentManager.ProcessGetAssignmentsResponse(GetAssignmentsResponse response, IService service, PartialRefreshType() types)
   at Novell.Zenworks.AssignmentManager.AssignmentManager.GeneralRefresh(IService() services, Boolean refreshServerCache, PartialRefreshType() types)
   at Novell.Zenworks.AssignmentManager.AssignmentManager.Refresh(String refreshType, CustomRefreshData refreshData, IService() services)] [] []
 [DEBUG] [12/21/2010 14:23:39.015] [1548] [ZenworksWindowsService] [35] [TestPDM1] [AssignmentManager] [] [   at Novell.Zenworks.Tess.Scheduler.Schedules.Schedule.createSchedule(ScheduleData data)
   at Novell.Zenworks.Tess.Scheduler.Schedules.Schedule.createSchedule(String xmlString)
   at Novell.Zenworks.AssignmentManager.AssignmentManager.ProcessGetAssignmentsResponse(GetAssignmentsResponse response, IService service, PartialRefreshType() types)
   at Novell.Zenworks.AssignmentManager.AssignmentManager.GeneralRefresh(IService() services, Boolean refreshServerCache, PartialRefreshType() types)
   at Novell.Zenworks.AssignmentManager.AssignmentManager.Refresh(String refreshType, CustomRefreshData refreshData, IService() services)]