Undefined Method downcase Error in Work Item Connector
search cancel

Undefined Method downcase Error in Work Item Connector

book

Article ID: 103949

calendar_today

Updated On:

Products

Rally On-Premise Rally SaaS

Issue/Introduction

When running the connector, the following error is seen in the log file:
[2018-07-02 15:52:28 Z] ERROR : Object.exception - Message undefined method `downcase' for nil:NilClass
[2018-07-02 15:52:28 Z] ERROR : Object.exception - Stack Trace
[2018-07-02 15:52:28 Z] ERROR : Object.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connection.rb:274:in `read_config'
[2018-07-02 15:52:28 Z] ERROR : Object.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-qc-4.8.2/lib/rallyeif/qc/qc_connection/qc_connection.rb:75:in `read_config'
[2018-07-02 15:52:28 Z] ERROR : Object.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-qc-4.8.2/lib/rallyeif/qc/qc_connection/qc_connection.rb:52:in `initialize'
[2018-07-02 15:52:28 Z] ERROR : Object.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:343:in `new'
[2018-07-02 15:52:28 Z] ERROR : Object.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:343:in `block in run'
[2018-07-02 15:52:28 Z] ERROR : Object.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-02 15:52:28 Z] ERROR : Object.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-02 15:52:28 Z] ERROR : Object.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-02 15:52:28 Z] ERROR : Object.block in exception - C:/Ruby22-x64/bin/ca_agile_central2_hpalm_connector.rb:23:in `load'
[2018-07-02 15:52:28 Z] ERROR : Object.block in exception - C:/Ruby22-x64/bin/ca_agile_central2_hpalm_connector.rb:23:in `<main>'

Environment

Release:
Component: ACSAAS

Cause

This can be caused by a missing required tag in the work item connector.
For example in the HP ALM connector, not including the <ArtifactType> node in the <QCConnection> section will cause this error.

Resolution

Ensure that all required nodes are included in the config.