Author: alessio.soldano(a)jboss.com
Date: 2010-09-14 13:11:02 -0400 (Tue, 14 Sep 2010)
New Revision: 12971
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java
Log:
[JBWS-3101] Prevent NPE on null response message (which is possible when using
Provider/Dispatch)
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java 2010-09-14
17:08:51 UTC (rev 12970)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java 2010-09-14
17:11:02 UTC (rev 12971)
@@ -399,6 +399,12 @@
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
EndpointMetaData epMetaData = msgContext.getEndpointMetaData();
MessageAbstraction resMessage = msgContext.getMessageAbstraction();
+
+ if (resMessage == null)
+ {
+ log.debug("Null response message");
+ return;
+ }
String wsaTo = null;
Show replies by date