Error: Object reference not set to an instance of an object when loading a spec through Catalog Browser that contains the <AlterExistingPages> XML Element

When loading a spec through Catalog Browser that contains the <AlterExistingPages> XML element and attempts to replace a detail view form on an existing data list, users receive the error:  Object reference not set to an instance of an object
Download and install the latest patch which contains all fixes from previous patches. If you are running an older version, download and install the latest version and then the patch.

Steps to Duplicate

Example XML that will throw the error:

<AlterExistingPages xmlns="bb_appfx_pagedefinition">
    <AlterPages>
      <AlterPage PageID="a6903af3-62b0-4c6a-b249-99898e382489">
        <AlterTabs>
          <AlterTab TabID="cf85ecaf-0fc0-4ecf-9a8a-2a11c86692ca">
            <AlterSections>
              <AlterDataListSection SectionID="80bdd3f6-db82-4347-8957-53677d31663d" DataListID="f3318ffe-e917-416f-8cee-8fef6d4bb833">
                <AlterRenderStyle>
                  <ReplaceDetailViewForm NewDataFormID="17002516-980b-4f82-8de5-db9c97264671"/>
                </AlterRenderStyle>
              </AlterDataListSection>
            </AlterSections>
          </AlterTab>
        </AlterTabs>
      </AlterPage>
    </AlterPages>
  </AlterExistingPages>

Environment

 Blackbaud Infinity SDK
 4.0
 4.0
 Service Pack 4

Was this article helpful?