You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Santosh Raman (JIRA)" <ji...@apache.org> on 2018/12/20 16:39:00 UTC

[jira] [Updated] (AXIS2-5944) NullPointer Exception on AbstractContext.needPropertyDifferences

     [ https://issues.apache.org/jira/browse/AXIS2-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Santosh Raman updated AXIS2-5944:
---------------------------------
    Description: 
In Production, we are seeing NullPointer exception being thrown randomly when calling an Axis2 webservice.

From the stack trace it looks like it happens when the axis2  client is trying to process the response.

The webservice calls an ESB layer and the ESB layer calls the external interface.The ESB layer is just a pass through.

The stack trace is 

Caused by: java.lang.NullPointerException
at org.apache.axis2.context.AbstractContext.needPropertyDifferences(AbstractContext.java:239)
at org.apache.axis2.context.AbstractContext.setProperty(AbstractContext.java:202)
at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:270)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
at curam.custom.webservices.edrs.impl.NFWSElectronicDQRecipientService.onlineQueryByID(NFWSElectronicDQRecipientService.java:175)
at curam.custom.webservices.edrs.impl.NFElectronicDQUtil.invokeOnlineQueryByID(NFElectronicDQUtil.java:452)
at curam.custom.nfprogramintegrity.disqualification.facade.impl.NFEPIDisqualification.getElectornicDQDetailsListBySsn(NFEPIDisqualification.java:555)
at curam.custom.nfprogramintegrity.disqualification.facade.impl.NFEPIDisqualification.getDQSearchRecordsFromEDRS(NFEPIDisqualification.java:491)
at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at curam.util.internal.CuramSessionBean.invoke(CuramSessionBean.java:297)

 

Thanks 

Santosh

 

  was:
In Production, we are seeing NullPointer exception being thrown randomly when calling an Axis2 webservice.

From the stack trace it looks like it happens when the axi2  client is trying to process the response.

The webservice calls an ESB layer and the ESB layer calls the external interface.The ESB layer is just a pass through.

The stack trace is 

Caused by: java.lang.NullPointerException
at org.apache.axis2.context.AbstractContext.needPropertyDifferences(AbstractContext.java:239)
at org.apache.axis2.context.AbstractContext.setProperty(AbstractContext.java:202)
at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:270)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
at curam.custom.webservices.edrs.impl.NFWSElectronicDQRecipientService.onlineQueryByID(NFWSElectronicDQRecipientService.java:175)
at curam.custom.webservices.edrs.impl.NFElectronicDQUtil.invokeOnlineQueryByID(NFElectronicDQUtil.java:452)
at curam.custom.nfprogramintegrity.disqualification.facade.impl.NFEPIDisqualification.getElectornicDQDetailsListBySsn(NFEPIDisqualification.java:555)
at curam.custom.nfprogramintegrity.disqualification.facade.impl.NFEPIDisqualification.getDQSearchRecordsFromEDRS(NFEPIDisqualification.java:491)
at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at curam.util.internal.CuramSessionBean.invoke(CuramSessionBean.java:297)

 

Thanks 

Santosh

 


> NullPointer Exception on AbstractContext.needPropertyDifferences
> ----------------------------------------------------------------
>
>                 Key: AXIS2-5944
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5944
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.6.2
>            Reporter: Santosh Raman
>            Priority: Critical
>
> In Production, we are seeing NullPointer exception being thrown randomly when calling an Axis2 webservice.
> From the stack trace it looks like it happens when the axis2  client is trying to process the response.
> The webservice calls an ESB layer and the ESB layer calls the external interface.The ESB layer is just a pass through.
> The stack trace is 
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.context.AbstractContext.needPropertyDifferences(AbstractContext.java:239)
> at org.apache.axis2.context.AbstractContext.setProperty(AbstractContext.java:202)
> at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:270)
> at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404)
> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
> at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
> at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
> at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
> at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
> at curam.custom.webservices.edrs.impl.NFWSElectronicDQRecipientService.onlineQueryByID(NFWSElectronicDQRecipientService.java:175)
> at curam.custom.webservices.edrs.impl.NFElectronicDQUtil.invokeOnlineQueryByID(NFElectronicDQUtil.java:452)
> at curam.custom.nfprogramintegrity.disqualification.facade.impl.NFEPIDisqualification.getElectornicDQDetailsListBySsn(NFEPIDisqualification.java:555)
> at curam.custom.nfprogramintegrity.disqualification.facade.impl.NFEPIDisqualification.getDQSearchRecordsFromEDRS(NFEPIDisqualification.java:491)
> at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
> at java.lang.reflect.Method.invoke(Method.java:508)
> at curam.util.internal.CuramSessionBean.invoke(CuramSessionBean.java:297)
>  
> Thanks 
> Santosh
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org