HPQC: Connector Error Cannot find object to read
search cancel

HPQC: Connector Error Cannot find object to read

book

Article ID: 106183

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)

Issue/Introduction

On the HP ALM (Quality Center) Connector for Agile Central, getting the below error:

[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::Connector.rescue in copy_to_other - Rally hierarchicalrequirement ID <STORY_OID> not copied to ALM (
Error on request - https://rally1.rallydev.com/slm/webservice/v2.0/user/888888888888?workspace=workspace/<WORKSPACE_OID> - 
{:errors=>["Cannot find object to read"], :warnings=>[]})
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.exception - Message 
Error on request - https://rally1.rallydev.com/slm/webservice/v2.0/user/<USER_OID>?workspace=workspace/<WORKSPACE_OID> - 
{:errors=>["Cannot find object to read"], :warnings=>[]}
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.exception - Stack Trace
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector.rb:335:in `rescue in copy_to_other'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector.rb:331:in `copy_to_other'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:470:in `block in process_service_artifacts'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_api-1.2.1/lib/rally_api/rally_query_result.rb:22:in `block in each'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_api-1.2.1/lib/rally_api/rally_query_result.rb:21:in `each'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_api-1.2.1/lib/rally_api/rally_query_result.rb:21:in `each'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:467:in `process_service_artifacts'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:409:in `process_service'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:529:in `block in run_services'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:528:in `each'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:528:in `run_services'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:347:in `block in run'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:286:in `each'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:286:in `run'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-qc-4.8.2/bin/ca_agile_central2_hpalm_connector.rb:12:in `<top (required)>'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/bin/ca_agile_central2_hpalm_connector.rb:23:in `load'
[2018-07-12 17:25:35 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/bin/ca_agile_central2_hpalm_connector.rb:23:in `<main>'

Environment

Release:
Component: ACSAAS

Cause

This is caused by a work item in Agile Central being assigned to a user that has been deleted.  The reference to the non-existent user account remains in the work item and when the connector follows that reference to locate the user, it is not found.

Resolution

The workaround for the error is to assign the work item to another user.

As a plan moving forward, prior to deleting the user, their work items should be reassigned to another user.
This can be accomplished using a Work View that is filtered for that User.
Then Bulk Edit can be used to quickly assign the work items to a different user.