0
Answered

Error attempting to Add entity to InnerRange Concept 4000

Ryan Crossingham 11 years ago in UNIFYBroker/InnerRange Concept4000 updated by anonymous 9 years ago 3

idBID is being used as the key

Add entities to connector failed.
Add entities [Count:1] to connector InnerRangeC4000 VUsers failed with reason Error running on COM thread. See inner exception for details.. Duration: 00:00:04.7354735
Error details:
System.Exception: Error running on COM thread. See inner exception for details. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Unify.Product.IdentityBroker.EntityToInsightVUserMapper.<>c__DisplayClass8a.<Map>b__0(StringValue value)
at Unify.Product.IdentityBroker.InsightExtensions.SetCheckValue[TValue](IEntitySchema schema, IConnectorEntity connectorEntity, GroupedNameValueCollectionKey attribute, Action`1 setValue, Action removeValue)
at Unify.Product.IdentityBroker.EntityToInsightVUserMapper.Map(IConnectorEntity connectorEntity, IInsightVUser1 targetEntity)
at Unify.Product.IdentityBroker.InsightAgent.InnerAddVirtualUsers(Insight insight, IEntitySchema schema, IEnumerable`1 users, String panelName)
at Unify.Product.IdentityBroker.InsightAgent.<>c__DisplayClass17.<AddVirtualUsers>b__16(Insight insight)
at Unify.Product.IdentityBroker.InsightAgent.<>c__DisplayClass29.<StartOnCOMThread>b__28()
--- End of inner exception stack trace ---
at Unify.Product.IdentityBroker.InsightAgent.ThreadJoiner.Join()
at Unify.Product.IdentityBroker.InsightAgent.AddVirtualUsers(IEntitySchema schema, String panelName, IEnumerable`1 users)
at Unify.Product.IdentityBroker.InnerRangeVirtualUserConnector.AddEntities(IEnumerable`1 entities)
at Unify.Product.IdentityBroker.ConnectorToAddingConnectorBridge.AddEntities(IEnumerable`1 entities)
at Unify.Product.IdentityBroker.EventNotifierAddingConnectorDecorator.AddEntities(IEnumerable`1 entities)
at Unify.Product.IdentityBroker.Adapter.AddEntities(IEnumerable`1 entities, EntityToConnectorEntityBridge[]& backwardAdapterEntities)
at Unify.Product.IdentityBroker.Adapter.AddEntity(IAdapterEntity entity)
at Unify.Product.IdentityBroker.AdapterNotifierDecoratorBase`1.AddEntity(IAdapterEntity entity)
at Unify.Product.IdentityBroker.LDIFAdapterBase.HandleExportAdd(IAdapter adapter, IAdapterEntitySaveChange pendingAdd)
at Unify.Product.IdentityBroker.LDIFAdapterBase.ExportChanges(ExportedLDIFForAdapter exportedLdifForAdapter)
at Unify.Product.IdentityBroker.LDIFAdapterServiceHostDecoratorBase.ExportChanges(ExportedLDIFForAdapter exportedLdifForAdapter)
at SyncInvokeExportChanges(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.ProcessMessage41(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Connector Config:

<connectorconfiguration>
      <connector id="d11a46c3-205e-48eb-b2e5-6cb5bb470c63" connector="Unify.Connectors.InnerRange.VirtualUser" name="InnerRangeC4000 VUsers" queueMissed="true" enabled="true" auditLevel="None">
        <entitySchema>
          <field name="Index" key="true" readonly="true" required="false" validator="int" id="30a5a741-38aa-48b1-b1c4-b659850bf4a3">
            <Extended />
          </field>
          <field name="AddressCity" key="false" readonly="false" required="false" validator="string" id="593e9759-5205-483b-a1de-33dcaf30f798">
            <Extended xmlns="" />
          </field>
          <field name="AddressCountry" key="false" readonly="false" required="false" validator="string" id="408d3f50-5676-401f-b050-0c554d6b2959">
            <Extended xmlns="" />
          </field>
          <field name="AddressPostcode" key="false" readonly="false" required="false" validator="string" id="44d9094d-81f4-4048-9188-9f9dc6b2a3b9">
            <Extended xmlns="" />
          </field>
          <field name="AddressState" key="false" readonly="false" required="false" validator="string" id="c754e52b-f1fe-4e06-af32-aa37cf53934e">
            <Extended xmlns="" />
          </field>
          <field name="AddressStreet" key="false" readonly="false" required="false" validator="string" id="43d6eb34-f26f-47ca-8978-1993042a6dd1">
            <Extended xmlns="" />
          </field>
          <field name="AddressSuburb" key="false" readonly="false" required="false" validator="string" id="11a6054c-326a-4763-826b-5bddd407c9fe">
            <Extended xmlns="" />
          </field>
          <field name="Area" key="false" readonly="false" required="false" validator="string" id="f1f66daa-441e-4205-901f-4b4447222c1d">
            <Extended xmlns="" />
          </field>
          <field name="BirthDate" key="false" readonly="false" required="false" validator="date" id="a7effd90-314a-48bc-a012-f2debcd2bebc">
            <Extended />
          </field>
          <field name="CardAccessMode" key="false" readonly="false" required="false" validator="string" id="f0258dc5-ec6c-40cb-a2f9-32c3ea2bc137">
            <Extended xmlns="" />
          </field>
          <field name="CarRegistration" key="false" readonly="false" required="false" validator="string" id="06b2b2a6-6759-4a4c-a09e-0f3c7116a5ed">
            <Extended xmlns="" />
          </field>
          <field name="CompanyDepartment" key="false" readonly="false" required="false" validator="string" id="a3c34095-7767-43a6-bc4c-c86c236209fb">
            <Extended xmlns="" />
          </field>
          <field name="CompanyName" key="false" readonly="false" required="false" validator="string" id="0d2bfc5a-c52f-49fc-8bb7-d72beed7e44f">
            <Extended xmlns="" />
          </field>
          <field name="CompanyPosition" key="false" readonly="false" required="false" validator="string" id="eb97c208-1196-436e-ba57-ecd6a84e97ec">
            <Extended xmlns="" />
          </field>
          <field name="CreditCardNumber" key="false" readonly="false" required="false" validator="string" id="2f798455-9a9e-4976-bbd9-0fe6cef2e277">
            <Extended xmlns="" />
          </field>
          <field name="EmailHome" key="false" readonly="false" required="false" validator="string" id="a41894af-6b9d-4828-aaf6-284e19fb6159">
            <Extended xmlns="" />
          </field>
          <field name="EmailWork" key="false" readonly="false" required="false" validator="string" id="88f20f03-79cc-425a-9077-960ccc8d7b0a">
            <Extended xmlns="" />
          </field>
          <field name="FirstName" key="false" readonly="false" required="false" validator="string" id="80d668ac-e5e8-4fdf-b4e4-cc2b46a39c3e">
            <Extended xmlns="" />
          </field>
          <field name="Gender" key="false" readonly="false" required="false" validator="string" id="5ea36294-19c5-4e49-a66a-dbfbf2a1b2e3">
            <Extended xmlns="" />
          </field>
          <field name="IsCardOnly" key="false" readonly="false" required="false" validator="boolean" id="4e765eb1-1e35-4184-8547-3e3608665288">
            <Extended />
          </field>
          <field name="IssueNumber" key="false" readonly="false" required="false" validator="int" id="0bf27558-3276-4b6d-b779-ac2273c1e0bc">
            <Extended />
          </field>
          <field name="MobileWork" key="false" readonly="false" required="false" validator="string" id="d2971af8-dd9c-438e-a05e-210eca1a9b10">
            <Extended xmlns="" />
          </field>
          <field name="Name" key="false" readonly="false" required="false" validator="string" id="65b9f39d-53d3-4eaa-a2b7-f3599ac20c40">
            <Extended xmlns="" />
          </field>
          <field name="Panel" key="false" readonly="false" required="false" validator="string" id="408a2927-a2e7-4a61-8f7e-6733218126df">
            <Extended xmlns="" />
          </field>
          <field name="PhoneHome" key="false" readonly="false" required="false" validator="string" id="7b9ee53e-5d3a-4049-b217-c97a467d2c85">
            <Extended xmlns="" />
          </field>
          <field name="PhoneMobile" key="false" readonly="false" required="false" validator="string" id="ad8d43a3-609a-4429-b71a-2a0623ba0969">
            <Extended xmlns="" />
          </field>
          <field name="PhoneWork" key="false" readonly="false" required="false" validator="string" id="2c2ad1c6-d6f9-4417-b3eb-77d3c33cadec">
            <Extended xmlns="" />
          </field>
          <field name="PinCode" key="false" readonly="false" required="false" validator="string" id="6a514158-6a6a-4a95-a551-4e5015d04a4c">
            <Extended xmlns="" />
          </field>
          <field name="RawNumber" key="false" readonly="false" required="false" validator="string" id="74101b86-4b35-4982-9658-3a6b346c43fd">
            <Extended xmlns="" />
          </field>
          <field name="SecondName" key="false" readonly="false" required="false" validator="string" id="3ce84a31-04ee-4626-be61-a0005bfbd1cb">
            <Extended xmlns="" />
          </field>
          <field name="SiteCode" key="false" readonly="false" required="false" validator="int" id="a5b16293-54fd-4e28-af33-b994e46d5bf2">
            <Extended />
          </field>
          <field name="Title" key="false" readonly="false" required="false" validator="string" id="5f99d4e6-92ab-4f50-8cb1-c32436e64c11">
            <Extended xmlns="" />
          </field>
          <field name="UserTypeName" key="false" readonly="false" required="false" validator="string" id="b916b087-6d47-4a40-8c89-4c50998aec48">
            <Extended xmlns="" />
          </field>
          <field name="UserID" key="true" readonly="true" required="true" validator="int" id="df9dad74-c2f8-4e88-9dac-a73294160ef1">
            <Extended />
          </field>
          <field name="ImageArray" key="false" readonly="false" required="false" validator="binary" id="dc0e27d3-6645-4ae7-8fd1-a448daa472c2">
            <Extended />
          </field>
          <field name="ExpiryTime" key="false" readonly="false" required="false" validator="timestamp" id="a9107a73-469b-4144-9f7d-a3315d9d0658">
            <Extended />
          </field>
          <field name="Notes" key="false" readonly="false" required="false" validator="string" id="603e5cc4-8846-4672-8110-90d06488dde0">
            <Extended xmlns="" />
          </field>
          <field name="Tenancy" key="false" readonly="false" required="false" validator="int" id="01fb5768-a950-4a0a-aa9f-0b19c6e7ad5d">
            <Extended />
          </field>
          <field name="FaxHome" key="false" readonly="false" required="false" validator="string" id="fab1985d-6123-4ee7-9b57-545b0aaaa207">
            <Extended xmlns="" />
          </field>
          <field name="FaxWork" key="false" readonly="false" required="false" validator="string" id="583e022b-1b2a-4bc4-8e4c-923fb8351a2a">
            <Extended xmlns="" />
          </field>
          <field name="Options" key="false" readonly="false" required="false" validator="int" id="073749c1-ff77-4334-8126-77feda64649a">
            <Extended xmlns="" />
          </field>
          <field name="CropX" key="false" readonly="false" required="false" validator="int" id="4991c678-44b8-4b72-973d-748389509599">
            <Extended />
          </field>
          <field name="CropY" key="false" readonly="false" required="false" validator="int" id="61a40d23-63fe-4e48-91b2-51f182e86cca">
            <Extended />
          </field>
          <field name="Photo" key="false" readonly="false" required="false" validator="string" id="8f233494-606e-4df0-b40f-6efde4ae503a">
            <Extended xmlns="" />
          </field>
          <field name="IsProgrammed" key="false" readonly="false" required="false" validator="boolean" id="00fe1776-a3e1-4869-8caa-83ced600c76e">
            <Extended xmlns="" />
          </field>
          <field name="IsVirtual" key="false" readonly="false" required="false" validator="boolean" id="4bbf7f68-0929-453e-a97e-5cb1109d1cfe">
            <Extended xmlns="" />
          </field>
          <field name="Rotate" key="false" readonly="false" required="false" validator="int" id="d07dd0ad-9b19-4c47-8abf-f987e582ca7c">
            <Extended xmlns="" />
          </field>
          <field name="Scale" key="false" readonly="false" required="false" validator="int" id="a0831158-967c-457a-b083-57d5bf82b35c">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:1" key="false" readonly="false" required="false" validator="string" id="d848b899-edb6-4550-ac35-b3f5ee5fb62b">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:2" key="false" readonly="false" required="false" validator="string" id="0b60a17f-c293-409d-91d9-0304f5dbaa2e">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:3" key="false" readonly="false" required="false" validator="string" id="2b168479-c9eb-409e-aa64-80cf7f52c46e">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:4" key="false" readonly="false" required="false" validator="string" id="e4e25d6f-83f4-4eb7-886c-9c1c93c6278a">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:5" key="false" readonly="false" required="false" validator="string" id="a5942f23-ae4a-452c-9612-e636396d7292">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:6" key="false" readonly="false" required="false" validator="string" id="eddf54e8-6247-4fe8-beb9-96fab56dc025">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:7" key="false" readonly="false" required="false" validator="string" id="a0603a91-69b2-4533-9b1a-2b3d2eb65061">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:8" key="false" readonly="false" required="false" validator="string" id="251445c9-d057-4999-85c0-56f69fcf0190">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:9" key="false" readonly="false" required="false" validator="string" id="3de67ca4-f890-42f2-9667-af78b2bfe1eb">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:10" key="false" readonly="false" required="false" validator="string" id="7b084220-1ad4-4786-82fe-ec1cd81f1eb5">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:11" key="false" readonly="false" required="false" validator="string" id="91a27e3d-8c82-4b8e-89b5-38fd426dabb1">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:12" key="false" readonly="false" required="false" validator="string" id="662c76e0-f0c7-45fb-a7f4-5403dcc9069f">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:13" key="false" readonly="false" required="false" validator="string" id="636ef0cf-33c4-42a4-a411-d132fb27ec1e">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:14" key="false" readonly="false" required="false" validator="string" id="28a39de5-9dfc-4190-9e0d-2cb8421cc698">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:15" key="false" readonly="false" required="false" validator="string" id="8cbf00c1-e1e4-4d17-ac96-024c93be9daf">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:16" key="false" readonly="false" required="false" validator="string" id="7f2da150-c1be-4d9b-803b-62f4c313563b">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:17" key="false" readonly="false" required="false" validator="string" id="5fbf2431-934e-4e54-ad5a-524f0849c349">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:18" key="false" readonly="false" required="false" validator="string" id="67c21729-a33a-4dc2-a08f-a0a2b89f687a">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:19" key="false" readonly="false" required="false" validator="string" id="74bb3990-8107-4474-99a0-f72bee19d009">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:20" key="false" readonly="false" required="false" validator="string" id="6de419ea-b39c-4b45-bb78-95eda1e6d784">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:21" key="false" readonly="false" required="false" validator="string" id="bbd287bc-b828-43d2-8616-0d01342811cc">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:22" key="false" readonly="false" required="false" validator="string" id="94e8600c-d4a7-4335-bb38-91a3076d668c">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:23" key="false" readonly="false" required="false" validator="string" id="e3468266-c3b9-405f-932d-5b0faead7fce">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:24" key="false" readonly="false" required="false" validator="string" id="e4c52960-55aa-43d9-bed9-2b8be70754e1">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:25" key="false" readonly="false" required="false" validator="string" id="a77c3f1e-1faa-48ae-acca-72c36dfa5327">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:26" key="false" readonly="false" required="false" validator="string" id="812ba4a5-594c-4efc-887f-d3385951dd8a">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:27" key="false" readonly="false" required="false" validator="string" id="a48752b7-6d60-4b19-a0d5-18c1c606c338">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:28" key="false" readonly="false" required="false" validator="string" id="fcf1241a-e6c8-41e8-a5cb-544bfa034a5e">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:29" key="false" readonly="false" required="false" validator="string" id="b555ca6d-3e0b-416e-a938-abe8f4f2232d">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:30" key="false" readonly="false" required="false" validator="string" id="9aeb9536-8631-41c6-8239-4f6febcdff23">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:31" key="false" readonly="false" required="false" validator="string" id="a3638533-9c13-46ae-bf81-685d6a168f0d">
            <Extended xmlns="" />
          </field>
          <field name="UserDefined:32" key="false" readonly="false" required="false" validator="string" id="d4615aa4-8553-4137-b83a-e8f816d6d046">
            <Extended xmlns="" />
          </field>
        </entitySchema>
        <Extended>
          <Configuration panel="LifeHouse" />
        </Extended>
        <Groups />
        <Agents>
          <Agent id="e77c19e9-52c1-49fc-a112-f976b5fe5232" type="Insight" />
        </Agents>
      </connector>
      <getAllEntities />
      <polling />
    </connectorconfiguration>

New release error msg:

Add entities to connector failed.
Add entities [Count:1] to connector InnerRangeC4000 VUsers failed with reason Error running on COM thread. See inner exception for details.. Duration: 00:00:04.7994799
Error details:
System.Exception: Error running on COM thread. See inner exception for details. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: targetEntity
at Unify.Product.IdentityBroker.EntityToInsightVUserMapper.Map(IConnectorEntity connectorEntity, IInsightVUser1 targetEntity)
at Unify.Product.IdentityBroker.InsightAgent.InnerAddVirtualUsers(Insight insight, IEntitySchema schema, IEnumerable`1 users, String panelName)
at Unify.Product.IdentityBroker.InsightAgent.<>c__DisplayClass17.<AddVirtualUsers>b__16(Insight insight)
at Unify.Product.IdentityBroker.InsightAgent.<>c__DisplayClass29.<StartOnCOMThread>b__28()
--- End of inner exception stack trace ---
at Unify.Product.IdentityBroker.InsightAgent.ThreadJoiner.Join()
at Unify.Product.IdentityBroker.InsightAgent.AddVirtualUsers(IEntitySchema schema, String panelName, IEnumerable`1 users)
at Unify.Product.IdentityBroker.InnerRangeVirtualUserConnector.AddEntities(IEnumerable`1 entities)
at Unify.Product.IdentityBroker.ConnectorToAddingConnectorBridge.AddEntities(IEnumerable`1 entities)
at Unify.Product.IdentityBroker.EventNotifierAddingConnectorDecorator.AddEntities(IEnumerable`1 entities)
at Unify.Product.IdentityBroker.Adapter.AddEntities(IEnumerable`1 entities, EntityToConnectorEntityBridge[]& backwardAdapterEntities)
at Unify.Product.IdentityBroker.Adapter.AddEntity(IAdapterEntity entity)
at Unify.Product.IdentityBroker.AdapterNotifierDecoratorBase`1.AddEntity(IAdapterEntity entity)
at Unify.Product.IdentityBroker.LDIFAdapterBase.HandleExportAdd(IAdapter adapter, IAdapterEntitySaveChange pendingAdd)
at Unify.Product.IdentityBroker.LDIFAdapterBase.ExportChanges(ExportedLDIFForAdapter exportedLdifForAdapter)
at Unify.Product.IdentityBroker.LDIFAdapterServiceHostDecoratorBase.ExportChanges(ExportedLDIFForAdapter exportedLdifForAdapter)
at SyncInvokeExportChanges(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.ProcessMessage41(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Resolved. This was a result of the InnerRange instance not having any blank users. The users were blanked and adds started working.

Please confirm.

Closing this issue as it has been resolved and is now inactive. If this issue has not been resolved, please reopen or log a new issue accordingly.