[ https://issues.apache.org/jira/browse/AXIS-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452913#comment-13452913 ]
Andreas Veithen commented on AXIS-2853: --------------------------------------- The stack trace indicates that the NPE occurs at the following line in the valueComplete method: public void valueComplete() throws SAXException { if (componentsReady()) { if (targets != null) { for (int i = 0; i < targets.size(); i++) { <==== Target target = (Target) targets.get(i); target.set(value); if (debugEnabled) { log.debug(Messages.getMessage("setValueInTarget00", "" + value, "" + target)); } } // Don't need targets any more, so clear them removeValueTargets(); } } } That indeed suggests a concurrency issue. > NullPointerException while Deserializing in Axis 1.4 - Intermittent > ------------------------------------------------------------------- > > Key: AXIS-2853 > URL: https://issues.apache.org/jira/browse/AXIS-2853 > Project: Axis > Issue Type: Bug > Components: Serialization/Deserialization > Affects Versions: 1.4 > Reporter: Raghavendra S > > We are getting the following Axis fault message intermittently, we see this > issue mainly when multiple requests are hitting the same server, we could say > concurrent requests (Multithreaded as well) > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException > faultSubcode: > faultString: java.lang.NullPointerException > faultActor: > faultNode: > faultDetail: > {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException > at > org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:247) > at > org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509) > at > org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) > at > org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171) > at > org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) > at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) > at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) > at org.apache.axis.client.Call.invoke(Call.java:2467) > at org.apache.axis.client.Call.invoke(Call.java:2366) > at org.apache.axis.client.Call.invoke(Call.java:1812) > Axis Version : 1.4 > Java Version : 1.6.0_16 > Currently we don't have request sent, we are trying to reproduce it to > capture more details -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org