Agile Central - TFS: Connector Error: Message undefined method each

Document ID : KB000105671
Last Modified Date : 10/07/2018
Show Technical Document Details
Issue:

When running the connector, the following error is seen in the log:
[2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.rescue in run_services - Unexpected exception occurred [2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.exception - Message undefined method `each' for "value":String [2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.exception - Stack Trace [2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_tfs_api-1.2.1/lib/rally_tfs_api/tfs_service.rb:116:in `getWorkItemsByIDs' [2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_tfs_api-1.2.1/lib/rally_tfs_api/tfs_service.rb:104:in `block in getWorkItemsByPage' [2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_tfs_api-1.2.1/lib/rally_tfs_api/tfs_service.rb:102:in `each' [2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_tfs_api-1.2.1/lib/rally_tfs_api/tfs_service.rb:102:in `getWorkItemsByPage' [2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_tfs_api-1.2.1/lib/rally_tfs_api/tfs_service.rb:88:in `getWorkItems' [2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-tfs-4.8.0/lib/rallyeif/tfs/tfs_connection/tfs_connection.rb:285:in `find_updates' [2018-07-06 16:18:42 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:447:in `process_service' [2018-07-06 16:18:42 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:530:in `block in run_services' [2018-07-06 16:18:42 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 `each' [2018-07-06 16:18:42 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 `run_services' [2018-07-06 16:18:42 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-06 16:18:42 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-06 16:18:42 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-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-tfs-4.8.0/bin/ca_agile_central2_tfs_connector.rb:12:in `<top (required)>' [2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/bin/ca_agile_central2_tfs_connector.rb:23:in `load' [2018-07-06 16:18:42 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/bin/ca_agile_central2_tfs_connector.rb:23:in `<main>'

Environment:
TFS Connector 4.8.0
Cause:
This can be caused by unicode characters that exist in the artifact.
 
Resolution:
Contact support for a hotfix build of the connector.  The fix will be released in a GA build soon.