SAP Knowledge Base Article - Preview

2579700 - Exception occuring: ‘SEVERE: SAAJ0010: Unable to read response:null” in SAP Hybris-ERP Integration.

Symptom

During the integration between SAP Hybris Commerce and SAP back end (S/4 HANA, SAP ERP) for  asynchronus order management scenario, when the order is placed from the Hybris storefront following exception might occurs.

 

INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | Dec 14, 2017 2:49:07 PM com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | SEVERE: SAAJ0010: Unable to read response
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | java.lang.NullPointerException
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.readFully(HttpSOAPConnection.java:552)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:318)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:145)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocSender.sendIDoc(DefaultIDocSender.java:95)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocOutboundAdapter.sendSingleIDoc(DefaultIDocOutboundAdapter.java:517)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocOutboundAdapter.sendIDocs(DefaultIDocOutboundAdapter.java:498)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocOutboundAdapter.publish(DefaultIDocOutboundAdapter.java:427)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.startPublication(DefaultDataHubPublicationService.java:252)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.publish(DefaultDataHubPublicationService.java:100)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at java.lang.reflect.Method.invoke(Method.java:497)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.sun.proxy.$Proxy142.publish(Unknown Source)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.impl.PublicationActionHandler.publishToTargetSystems(PublicationActionHandler.java:342)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.impl.PublicationActionHandler.handlePublicationAction(PublicationActionHandler.java:126)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:95)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:69)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.command.impl.AbstractPerformCommand.lambda$execute$0(AbstractPerformCommand.java:56)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.command.impl.AbstractPerformCommand$$Lambda$276/1832746261.run(Unknown Source)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.ExceptionHandlingAsyncTaskExecutor$2.run(ExceptionHandlingAsyncTaskExecutor.java:79)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at java.lang.Thread.run(Thread.java:745)
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 |
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | 2017-12-14 14:49:07,725 [ERROR] [c.h.d.s.i.DefaultIDocSender] Sending IDoc='class com.hybris.datahub.saporder.generated.SALESORDER_CREATEFROMDAT202' to 'DefaultIDocTargetSystem [authenticationType=BASIC_AUTHENTICATION, password=<removed>, passwordEncrypted=false, url=https://ldai1er9.wdf.sap.corp:44300/sap/bc/srt/IDoc?sap-client=003, userName=SCHROEDERJA]' encountered a message handling error
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to read response: null
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:149) ~[na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocSender.sendIDoc(DefaultIDocSender.java:95) ~[sapidocoutboundadapter-6.6.0.0-RC6.jar:na]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocOutboundAdapter.sendSingleIDoc(DefaultIDocOutboundAdapter.java:517) [sapidocoutboundadapter-6.6.0.0-RC6.jar:na]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocOutboundAdapter.sendIDocs(DefaultIDocOutboundAdapter.java:498) [sapidocoutboundadapter-6.6.0.0-RC6.jar:na]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocOutboundAdapter.publish(DefaultIDocOutboundAdapter.java:427) [sapidocoutboundadapter-6.6.0.0-RC6.jar:na]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.startPublication(DefaultDataHubPublicationService.java:252) [datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.publish(DefaultDataHubPublicationService.java:100) [datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) [spring-aop-4.3.11.RELEASE.jar:4.3.11.RELEASE]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) [spring-aop-4.3.11.RELEASE.jar:4.3.11.RELEASE]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.3.11.RELEASE.jar:4.3.11.RELEASE]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) [spring-tx-4.3.11.RELEASE.jar:4.3.11.RELEASE]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) [spring-tx-4.3.11.RELEASE.jar:4.3.11.RELEASE]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) [spring-tx-4.3.11.RELEASE.jar:4.3.11.RELEASE]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.3.11.RELEASE.jar:4.3.11.RELEASE]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) [spring-aop-4.3.11.RELEASE.jar:4.3.11.RELEASE]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.sun.proxy.$Proxy142.publish(Unknown Source) [na:na]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.impl.PublicationActionHandler.publishToTargetSystems(PublicationActionHandler.java:342) [datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.impl.PublicationActionHandler.handlePublicationAction(PublicationActionHandler.java:126) [datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:95) [datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:69) [datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.command.impl.AbstractPerformCommand.lambda$execute$0(AbstractPerformCommand.java:56) [datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.command.impl.AbstractPerformCommand$$Lambda$276/1832746261.run(Unknown Source) [datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) [na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.hybris.datahub.service.ExceptionHandlingAsyncTaskExecutor$2.run(ExceptionHandlingAsyncTaskExecutor.java:79) [datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to read response: null
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:340) ~[na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:145) ~[na:1.8.0_51]
INFO | jvm 1 | srvmain | 2017/12/14 14:49:07.819 | ... 30 common frames omitted


Read more...

Environment

SAP Hybris 6.6.0.0

Product

SAP Hybris Commerce 6.6

Keywords

Datahub SOAP SOAPExceptionImpl SRTIDOC ERP sapidocoutboundadapter SRT_WHITE_LIST   , KBA , CEC-COM-BSC-SLS , Sales Order Management (SAP Commerce) , Problem

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.