0
Fixed

Cannot update phoneProfile

Peter Wass 7 years ago in UNIFYBroker/Cisco Unified Communications Manager • updated by anonymous 3 years ago 2

This error was received when trying to update the phoneProfiles field on the user. Do I need to use the guid or can I use the string representation of the device

20120401,08:54:16,Cisco communicator,Update,Error,"Exception occured after 00:00:00 duration.

System.NullReferenceException: Object reference not set to an instance of an object.
at Unify.Framework.CiscoUserCommunicator.SetAdditionalUpdateFields(XElement updateElement, IConnectorEntity entity)
at Unify.Framework.CiscoCommunicatorBase`1.SetElementFromEntity(XElement requestElement, IConnectorEntity entity, IEnumerable`1 ignoredFields, Action`2 setFieldsAction)
at Unify.Framework.CiscoCommunicatorBase`1.CreateUpdateRequest(IConnectorEntity entity)
at Unify.Framework.CiscoCommunicatorBase`1.UpdateEntity(IConnectorEntity entity)
at Unify.Framework.CiscoCommunicatorBase`1.Update(IConnectorEntity entity)",Verbose
20120401,08:54:16,Save entities to connector failed.,Connector,Warning,"Save entities Count:1 to connector Cisco User Connector failed with reason Object reference not set to an instance of an object.. Duration: 00:00:00.4531250
Error details:
System.NullReferenceException: Object reference not set to an instance of an object.
at Unify.Framework.CiscoUserCommunicator.SetAdditionalUpdateFields(XElement updateElement, IConnectorEntity entity)
at Unify.Framework.CiscoCommunicatorBase`1.SetElementFromEntity(XElement requestElement, IConnectorEntity entity, IEnumerable`1 ignoredFields, Action`2 setFieldsAction)
at Unify.Framework.CiscoCommunicatorBase`1.CreateUpdateRequest(IConnectorEntity entity)
at Unify.Framework.CiscoCommunicatorBase`1.UpdateEntity(IConnectorEntity entity)
at Unify.Framework.CiscoCommunicatorBase`1.Update(IConnectorEntity entity)
at Unify.Framework.CiscoReadWriteConnectorBase`1.SaveEntity(IConnectorEntity entity)
at Unify.Framework.CiscoReadWriteConnectorBase`1.SaveEntities(IEnumerable`1 entities)
at Unify.Framework.ConnectorToWritingConnectorBridge.SaveEntities(IEnumerable`1 entities)
at Unify.Framework.EventNotifierWritingConnectorDecorator.SaveEntities(IEnumerable`1 entities)
at Unify.Framework.Adapter.SaveEntities(IEnumerable`1 entities, Boolean reflect)
at Unify.Framework.Adapter.SaveEntity(IAdapterEntity entity, Boolean reflect)
at Unify.Framework.CompositeAdapter.SaveEntity(IAdapterEntity entity)
at Unify.Framework.AdapterNotifierDecorator.SaveEntity(IAdapterEntity entityToSave)
at Unify.Framework.LDIFAdapter.ExportAdapterEntity(IAdapterEntity adapterEntity, Guid adapterId)
at Unify.Framework.LDIFAdapterServiceHostDecorator.ExportAdapterEntity(IAdapterEntity adapterEntity, Guid adapterId)
at SyncInvokeExportAdapterEntity(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)",Normal

Affected Versions:
Fixed by Version:

Tested and working fine now.

Closed as Peter has reported latest version as working.