NullPointerException after System Update assigned

  • 7005099
  • 04-Jan-2010
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2

Situation

In rare cases, after assigning System Update to servers or other managed devices, clicking on that device details in ZCC generates an error and also the system update stays in pending for that device.
 
ERROR (in ZCC):
 
java.lang.NullPointerException
    at
com.novell.zenworks.datamodel.services.systemupdate.SystemUpdateAdminImpl2.getActiveSupercedingUpdate(SystemUpdateAdminImpl2.java:521)
    at
com.novell.zenworks.datamodel.services.systemupdate.SystemUpdateAdminImpl2.getAllDeviceUpdateStatusInfo(SystemUpdateAdminImpl2.java:1546)

 
ERROR (from device zmd-messages.log ):
 
 [DEBUG] [12/31/2009 12:20:10.904] [2064] [ZenworksWindowsService] [35] [] [SystemUpdateModule] [] [Unable to get assigned updates
Type: System.Web.Services.Protocols.SoapException
Message: Server Error
Stack Trace:
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object() parameters)
       at Novell.Zenworks.SystemUpdateService.Wsdl.SystemUpdateServiceService.getSystemUpdates(GetSystemUpdatesRequest GetSystemUpdatesRequest)
       at Novell.Zenworks.SystemUpdate.SystemUpdateRunner.applyUpdates()
 
Note the zenworks-system update service URL for getSystemUpdates  also returns the exception above in getActiveSupercedingUpdate.

Resolution

This is fixed in version 10.3 - see KB 7005455 "ZENworks Configuration Management SP3 (10.3) - update information and list of fixes" which can be found at https://www.novell.com/support
 
Workaround: if it is not possible to upgrade to ZENworks Configuration Management SP3 (10.3) at this time, in the interim, Novell has made a Patch available for testing, in the form of a Field Test File (FTF): it can be obtained at https://download.novell.com as "NullPointerException occurs in ZCC when accessing a device or the system-update pages (KB 7005125) 10.2.2"
 
This Patch should only be applied if the symptoms above are being experienced, and are causing problems.
This Patch has had limited testing, and should not be used in a production system without first being checked in a test environment. Some Patches have specific requirements for deployment, it is very important to follow any instructions in the readme at the download site. Please report any problems encountered when using this Patch, by using the feedback link on this TID.