SAP Knowledge Base Article - Preview

2734999 - How to solve the exception [DataHubRequestTaskRunner] 400 null ?

Symptom

During the setup of the SAP Hybris Marketing Integration with SAP CX Commerce platform using Datahub following exception is triggered in the datahub logs, the error occurs when one of the CronJobs provided OOTB (put of the box) for this scenario is executed from Backoffice:

 

INFO   | jvm 1    | main    | 2018/12/13 10:23:07.043 | [m

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.654 | [32mINFO  [TaskExecutor-master-759-Task [8796126217142]] [DataHubRequestCreator] Sending request to datahub @ http://<DATAHUB_IP>:8080/datahub-webapp/v1 with sync execution id: 000002K4

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.854 | [m[1;31mERROR [TaskExecutor-master-759-Task [8796126217142]] [DataHubRequestTaskRunner] 400 null

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 | [m org.springframework.web.client.HttpClientErrorException: 400 null

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:86) ~[spring-web-4.3.16.RELEASE.jar:4.3.16.RELEASE]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:708) ~[spring-web-4.3.16.RELEASE.jar:4.3.16.RELEASE]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:661) ~[spring-web-4.3.16.RELEASE.jar:4.3.16.RELEASE]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:621) ~[spring-web-4.3.16.RELEASE.jar:4.3.16.RELEASE]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:415) ~[spring-web-4.3.16.RELEASE.jar:4.3.16.RELEASE]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.y2ysync.task.runner.internal.DataHubRequestCreator.sendRequest(DataHubRequestCreator.java:64) ~[y2ysyncserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.y2ysync.task.runner.DataHubRequestTaskRunner.sendRequestToDataHub(DataHubRequestTaskRunner.java:89) ~[y2ysyncserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.y2ysync.task.runner.DataHubRequestTaskRunner.run(DataHubRequestTaskRunner.java:51) [y2ysyncserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.platform.task.impl.DefaultTaskExecutionStrategy$1.execute(DefaultTaskExecutionStrategy.java:104) [processingserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.platform.tx.Transaction.execute(Transaction.java:1192) [coreserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.platform.tx.Transaction.execute(Transaction.java:1157) [coreserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.platform.task.impl.DefaultTaskExecutionStrategy.run(DefaultTaskExecutionStrategy.java:96) [processingserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.platform.task.impl.DefaultTaskService.processTask(DefaultTaskService.java:1397) [processingserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.platform.task.impl.DefaultTaskService.process(DefaultTaskService.java:1296) [processingserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.platform.task.impl.DefaultTaskService.processInTenant(DefaultTaskService.java:1265) [processingserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.platform.task.impl.DefaultTaskService$5.run(DefaultTaskService.java:1133) [processingserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_172]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_172]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.platform.core.threadregistry.RegistrableThread.internalRun(RegistrableThread.java:144) [coreserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:16.855 |           at de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:134) [coreserver.jar:?]

INFO   | jvm 1    | main    | 2018/12/13 10:23:22.663 | [33mWARN  [hybrisHTTP14] [172.28.166.165] [DefaultModelValueHandler] No method found for property 'currentObject.cronJobs', using attribute fallback. Original message: 'EL1010E: Property or field 'cronJobs' cannot be set on object of type 'de.hybris.y2ysync.model.Y2YSyncJobModel' - maybe not public?'


Read more...

Product

SAP Hybris Commerce 6.7

Keywords

  • DataHubRequestTaskRunner
  • HttpClientErrorException: 400 null
  • 400 null
  • null
  • org.springframework.web.client.HttpClientErrorException
  • HttpClientErrorException
, KBA , CEC-COM-CPS , SAP Commerce , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.