NULL Key Error while registering or refreshing ZCM managed agent

  • 3704357
  • 29-Jan-2008
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

ERROR:"Parameter cannot be null: Key"

Resolution

The most common reason for this error is if the managed agent workstation is not set up with proper DNS. Check that the workstation Network TCP/IP properties are set to a DNS server and that the DNS name of the ZCM server is resolvable with nslookup. This should correct the problem.

If the first reason is not relevant, this can be caused when the server has two NICs, each resolving to the same DNS name.
This is fixed in version 10.0.3 - see KB 3486285 "Updates to ZENworks 10 Configuration Management" which can be found at https://www.novell.com/support

Additional Information

This can be caused when the server has two nics, each resolving to the same DNS name.

Possible errors from zmd-messages.log
[DEBUG] [10/9/2007 8:32:58 AM] [] [RegistrationManager] [] [Unexpected exception during refresh: System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at Novell.Zenworks.Zmd.Certificates.CertManager.AddCertificate(Byte[[]][[]] certsArray, String[[]] uriList)
at Novell.Zenworks.Zmd.Certificates.CertManager.AddCertificate(String[[]] uriList, String certBase64)
at Novell.Zenworks.Registration.ZoneConfigManager.GetURIFromDefaultFile()
at Novell.Zenworks.Registration.ZoneConfigManager.GetURIForPrimaryServer()
at Novell.Zenworks.Registration.RegistrationManager.GetAndProcessOSTargetsFile(IService[[]] services, String refreshType)
at Novell.Zenworks.Registration.RegistrationManager.Refresh(String refreshType, Object refreshData, IService[[]] services)] [] []
or:
[DEBUG] [12/12/2007 12:41:18 PM] [] [RegistrationManager] [] [Unexpected exception calling registration soap service: Value cannot be null.
Parameter name: key] [] []
[DEBUG] [12/12/2007 12:41:18 PM] [] [RegistrationManager] [] [Unable to update device status with any service] [] []
or:
[DEBUG] [1/29/2008 3:08:26 PM] [] [RegistrationManager] [] [Unexpected exception during refresh: System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at Novell.Zenworks.Zmd.Certificates.CertManager.AddCertificate(Byte[[]][[]] certsArray, String[[]] uriList)
at Novell.Zenworks.Zmd.Certificates.CertManager.AddCertificate(String[[]] uriList, String certBase64)
at Novell.Zenworks.Registration.ZoneConfigManager.GetURIFromDefaultFile()
at Novell.Zenworks.Registration.ZoneConfigManager.GetURIForPrimaryServer()
at Novell.Zenworks.Registration.RegistrationManager.GetAndProcessOSTargetsFile(IService[[]] services, String refreshType)
at Novell.Zenworks.Registration.RegistrationManager.Refresh(String refreshType, Object refreshData, IService[[]] services)] [] []
[DEBUG] [1/29/2008 3:08:26 PM] [] [RegistrationManager] [] [ at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)

Feedback service temporarily unavailable. For content questions or problems, please contact Support.