"Add CI Relationship" fails to load and gets stuck on the info-message "Loading Configuration Items"Issue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0;<span id="CmCaReT"></span> background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } --> "Add CI Relationship" fails to load and gets stuck on the info-message "Loading Configuration Items" Overview This article intends to troubleshoot in case the Add CI Relationship operation fails to work, with the page showing the info-message Loading Configuration Item, never completing a successful load, and with no timeout error thrown. Symptom The browser JS console (i.e. from Chrome developer tools) will report an error like the following:Uncaught TypeError: Cannot read property 'getAttribute' of undefinedat e.getSuggestedQuery [as callbackFunction] (js_includes_ciRelationshipEditor.jsx?v=11-08-2016_1607&lp=Mon_Jan_02_01_11_36_PST_2017&c=10_88:31622)at e._responseReceived (js_includes_doctype.jsx?v=11-08-2016_1607&lp=Mon_Jan_02_01_11_36_PST_2017&c=10_88:10778)at e._processReqChange (js_includes_doctype.jsx?v=11-08-2016_1607&lp=Mon_Jan_02_01_11_36_PST_2017&c=10_88:10636)at XMLHttpRequest.<anonymous> (js_includes_doctype.jsx?v=11-08-2016_1607&lp=Mon_Jan_02_01_11_36_PST_2017&c=10_88:11) Possible Resolution The error Uncaught TypeError: Cannot read property 'getAttribute' of undefined can be caused by different reasons.The one reason we intend to address here is a modified Script Include after an instance upgrade between major versions, i.e. from Helsinki to Istanbul. The particular script include in this case is the AddRelationshipAjax, that was modified by the customer in the earlier version, and became incompatible with the new version of the instance. The steps below should be taken to address the issue: Navigate to sys_script_include.list https://<Instance_URL>/nav_to.do?uri=/sys_script_include_list.doLocate the script include AddRelationshipAjaxCheck if the script was updated or skipped during the instance upgrade.If it was skipped, compare and collect the differences between the out of the box version and the current version.Review the custom code and merge, if possible, with the new version.In case the previous customization is no longer needed, revert to the new OOB version contained in the upgraded instance.