‎2021 Jul 05 1:45 PM
Hi All,
We are using project piper to deploy changes from Git to our S4HANA system via gCTS.
The gctsDeploy code available in https://www.project-piper.io/steps/gctsDeploy/ is used. This is causing dump as beow in our S4HANA system during the pipeline run:
Access using a 'ZERO' object reference is not possible.
The termination occurred in ABAP program or include "CL_CTS_ABAP_VCS_API_FACADE====CP", in "CREATE_REPOSITORY". The main program was "SAPMHTTP". In the source code, the termination point is in line 4 of include "CL_CTS_ABAP_VCS_API_FACADE====CM004". include "CL_CTS_ABAP_VCS_API_FACADE====CM004". The termination is due to exception "CX_SY_REF_IS_INITIAL" occurring in procedure "CREATE_REPOSITORY" "(METHOD)", but not being handled locally there or being declared in the RAISING clause. The procedure is in program "CL_CTS_ABAP_VCS_API_FACADE====CP". Its source code begins in line 1 of include "CL_CTS_ABAP_VCS_API_FACADE====CM004".
If anybody has faced similar issues with gctsDeploy, kindly help.
‎2021 Jul 08 8:13 AM
Hello Mohit,
Could you share the Jenkinsfile/config.yml that you are using for the pipeline. It would be great to know what values you are providing for the parameters for the gctsDeploy step? And could you also specify the SAP_BASIS version you are using?
‎2021 Jul 08 8:13 AM
Hello Mohit,
Could you share the Jenkinsfile/config.yml that you are using for the pipeline. It would be great to know what values you are providing for the parameters for the gctsDeploy step? And could you also specify the SAP_BASIS version you are using?
‎2021 Jul 08 8:48 AM
Hi Sarat,
Thank you very much for the response. We were using wrong/dummy values for commit and scope in our config.yaml and jenkins files. We passed empty strings and now gctsDeploy works just fine. Thank you.