‎2022 Jun 10 8:40 AM
Hi,
I am getting this error when trying to open a specific class:
org.eclipse.core.runtime.CoreException: Synchronize Content Result for /S4H_100_s4h_ext_mw_en/.adt/classlib/classes/zcl_im_gcts_badi/zcl_im_gcts_badi.apclass
at org.eclipse.core.internal.resources.semantic.SemanticFileStore.synchronizeContentWithRemote(SemanticFileStore.java:1152)
at org.eclipse.core.internal.resources.semantic.SemanticResourceAdapterImpl.synchronizeContentWithRemote(SemanticResourceAdapterImpl.java:318)
at com.sap.adt.tools.core.internal.sfs.AdtSfsUtil$3.run(AdtSfsUtil.java:253)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2315)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2340)
at com.sap.adt.tools.core.internal.sfs.AdtSfsUtil.synchronize(AdtSfsUtil.java:270)
at com.sap.adt.tools.abapsource.AbapSourceSfsUtil.synchronize(AbapSourceSfsUtil.java:39)
at com.sap.adt.tools.abapsource.AbapSourceSfsUtil.synchronize(AbapSourceSfsUtil.java:33)
at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor.synchronizeInReloadPage(AbapSourceMultiPageEditor.java:3708)
at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor$2$1.synchronizeSemanticFile(AbapSourceMultiPageEditor.java:915)
at com.sap.adt.project.ui.internal.reloadpage.AdtReloadResourceInfoPage$RefreshAdtSourcePageAction$1$1.run(AdtReloadResourceInfoPage.java:686)
at com.sap.adt.project.ui.internal.reloadpage.AdtReloadResourceInfoPage$4.run(AdtReloadResourceInfoPage.java:576)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Contains: Resource ZCL_IM_GCTS_BADI: wrong input data for processing
com.sap.adt.communication.resources.ResourceBadRequestException: Execution of request "GET /sap/bc/adt/oo/classes/zcl_im_gcts_badi" failed: 400 Bad Request
Resource ZCL_IM_GCTS_BADI: wrong input data for processing
------------ Request -----------------------
GET /sap/bc/adt/oo/classes/zcl_im_gcts_badi HTTP/1.1
Cache-Control: no-cache
Accept: application/vnd.sap.adt.oo.classes.v3+xml, application/vnd.sap.adt.oo.classes.v2+xml, application/vnd.sap.adt.oo.classes+xml
User-Agent: Eclipse/4.23.0.v20220308-0310 (win32; x86_64; Java 16.0.2) ADT/3.26.1 (devedition)
X-sap-adt-profiling: server-time
------------ Response ----------------------
HTTP/1.1 400 Bad Request
~server_protocol: HTTP/1.1
X-sap-adt-profiling: server-time=5665
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8"?><exc:exception xmlns:exc="http://www.sap.com/abapxml/types/communicationframework"><namespace id="com.sap.adt"/><type id="ExceptionResourceWrongData"/><message lang="EN">Resource ZCL_IM_GCTS_BADI: wrong input data for processing</message><localizedMessage lang="EN">Resource ZCL_IM_GCTS_BADI: wrong input data for processing</localizedMessage><properties/></exc:exception>
--------------------------------------------
at com.sap.adt.communication.internal.resources.RestResource.createResourceException(RestResource.java:227)
at com.sap.adt.communication.internal.resources.RestResource.createResultFromResponse(RestResource.java:151)
at com.sap.adt.communication.internal.resources.RestResource.invoke(RestResource.java:141)
at com.sap.adt.communication.internal.resources.RestResource.get(RestResource.java:71)
at com.sap.adt.tools.core.spi.sfs.AdtContentProvider.readAdtResourceInternal(AdtContentProvider.java:1666)
at com.sap.adt.tools.core.spi.sfs.AdtContentProvider.synchronizeFileWithRemote(AdtContentProvider.java:1101)
at com.sap.adt.tools.core.spi.sfs.AdtContentProviderForCompoundObjects.internalSynchronizeContentWithRemote(AdtContentProviderForCompoundObjects.java:145)
at com.sap.adt.tools.core.spi.sfs.AdtContentProviderForCompoundObjects.synchronizeContentWithRemote(AdtContentProviderForCompoundObjects.java:103)
at org.eclipse.core.internal.resources.semantic.SemanticFileStore.synchronizeContentWithRemote(SemanticFileStore.java:1150)
at org.eclipse.core.internal.resources.semantic.SemanticResourceAdapterImpl.synchronizeContentWithRemote(SemanticResourceAdapterImpl.java:318)
at com.sap.adt.tools.core.internal.sfs.AdtSfsUtil$3.run(AdtSfsUtil.java:253)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2315)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2340)
at com.sap.adt.tools.core.internal.sfs.AdtSfsUtil.synchronize(AdtSfsUtil.java:270)
at com.sap.adt.tools.abapsource.AbapSourceSfsUtil.synchronize(AbapSourceSfsUtil.java:39)
at com.sap.adt.tools.abapsource.AbapSourceSfsUtil.synchronize(AbapSourceSfsUtil.java:33)
at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor.synchronizeInReloadPage(AbapSourceMultiPageEditor.java:3708)
at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor$2$1.synchronizeSemanticFile(AbapSourceMultiPageEditor.java:915)
at com.sap.adt.project.ui.internal.reloadpage.AdtReloadResourceInfoPage$RefreshAdtSourcePageAction$1$1.run(AdtReloadResourceInfoPage.java:686)
at com.sap.adt.project.ui.internal.reloadpage.AdtReloadResourceInfoPage$4.run(AdtReloadResourceInfoPage.java:576)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Other classes from the system work perfectly fine. The class is from a BAdI Implementation from this blog post:
https://blogs.sap.com/2022/05/24/integrating-gcts-with-transport-organizer-processes/I am using these versions:


Does anyone else have this issue?
‎2022 Jun 10 11:06 AM
I don't have this issue, and I'm on the same versions. The important part of the dump is this:
Execution of request "GET /sap/bc/adt/oo/classes/zcl_im_gcts_badi" failed: 400 Bad Request
Resource ZCL_IM_GCTS_BADI: wrong input data for processingIt means that the backend doesn't recognise the request as a valid, so it can't process it.
You could try debugging. Set an external breakpoint in CL_ADT_WB_RES_APP->IF_HTTP_EXTENSION~HANDLE_REQUEST
See what happens with your ZCL_IM_GCTS_BADI, and maybe compare with what happens with another Z class that does work.
I assume that the class opens fine in SAPGui?
‎2022 Jun 14 8:51 AM
Dear Mr. Wagener
we would like to take a deeper look on this issue.
We kindly ask you to create a customer ticket using the BC-DWB-AIE-SRC component.
Thank you for your help.
Kind regards,
Wolfgang