NullPointer exception in calculating GetLocationConfigurationResponse

  • 7010593
  • 09-Aug-2012
  • 12-Nov-2012

Environment

Novell ZENworks Configuration Management 11.2

Situation

When a device or folder has a setting to override the default location, devices registering to the zone will fail.
 
ERROR:
 
Sucessfully registered to Zone '[could not determine]'
 
ERROR (in zmd-mesesages.log):
 
 [DEBUG] [08/03/2012 13:25:57.093] [3856] [ZenworksWindowsService] [17] [] [LocationConfigBasedService] [] [Could not get location configuration
Type: Novell.Zenworks.Zmd.ZenException
Message: Error received in locCfg response. Code:-104 Message: null
java.lang.NullPointerException
 at com.novell.zenworks.webservice.location.LocationWebServiceImpl.getLocationConfiguration(LocationWebServiceImpl.java:328)
 at com.novell.zenworks.webservice.location.schema.LocationService_ServiceTieSkeleton.getLocationConfiguration(LocationServiImpl.java:328)
 
Note:  The error is not seen in services-messages.log from primary.

Resolution

This is fixed in version 11.2.2 - see KB 7010757 "ZENworks Configuration Management 11.2.2 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7010757
Workaround: if it is not possible to upgrade to ZCM 11.2.2 at this time, in the interim, Novell has made a Patch available for testing, as part of a Monthly patch update: it can be obtained at https://download.novell.com/Download?buildid=zKIz21tONFg~ as "ZCM 11.2.1 Monthly Update 2 - see TID 7010729". This update should only be applied if the symptoms above are being experienced, and are causing problems.Please report any problems encountered when using this Patch, by using the feedback link on this TID.

Cause

The problem is specific to the situation where at a device or folder level, the default system level location has been overridden.