Receiving a NPE at runtime during HTTP.Post() (Doc ID 1026055.1)

Last updated on JUNE 11, 2012

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6.3 and later
Information in this document applies to any platform.
Information in this document applies to any platform.
Reviewed for currency JUN-11-2012

Symptoms

Receiving a NPE at runtime during HTTP.Post()

com.stc.connector.appconn.http.HTTPApplicationException: Failed on the POST request; Exception : java.lang.NullPointerException
at com.stc.connector.httpadapter.appconn.HTTPClientApplicationImpl.post(HTTPClientApplicationImpl.java:169)
at prjEDISAPKronos2.jcdSAPKronos2.postRequest(prjEDISAPKronos2.jcdSAPKronos2:169)
at prjEDISAPKronos2.jcdSAPKronos2.receive(prjEDISAPKronos2.jcdSAPKronos2:76)
at prjEDISAPKronos2.svcSAPKronos2.jcdSAPKronos2_Runtime_Handler.handleRequest(prjEDISAPKronos2.svcSAPKronos2.jcdSAPKronos2_Runtime_Handler:399)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2899)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3990)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:134)
at $Proxy116.handleRequest(Unknown Source)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.sendMessage(JMSEndPointListener.java:326)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.onContents(JMSEndPointListener.java:107)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.onMessage(JMSEndPointListener.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2899)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3990)
at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1111)
at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:74)
at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:179)
at $Proxy121.onMessage(Unknown Source)
at com.stc.jmsjca.core.Delivery.deliverToEndpoint(Delivery.java:1156)
at com.stc.jmsjca.core.SerialDelivery.onMessage(SerialDelivery.java:257)
at com.stc.jms.client.SessionImpl.processAsyncDataAvailable(SessionImpl.java:1661)
at com.stc.jms.client.SessionImpl.processAsync(SessionImpl.java:1750)
at com.stc.jms.client.SessionImpl.asyncEnter(SessionImpl.java:1778)
at com.stc.jms.client.SessionImpl.access$500(SessionImpl.java:56)
at com.stc.jms.client.SessionImpl$1.run(SessionImpl.java:1556)
at com.stc.jms.client.SessionImpl$2.run(SessionImpl.java:1809)
at java.lang.Thread.run(Thread.java:619)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms