Author: richard.opalka(a)jboss.com
Date: 2007-08-29 14:39:18 -0400 (Wed, 29 Aug 2007)
New Revision: 4507
Modified:
stack/native/branches/ropalka/trunk/src/main/java/org/jboss/ws/extensions/wsrm/RMChannelRequest.java
Log:
fix
Modified:
stack/native/branches/ropalka/trunk/src/main/java/org/jboss/ws/extensions/wsrm/RMChannelRequest.java
===================================================================
---
stack/native/branches/ropalka/trunk/src/main/java/org/jboss/ws/extensions/wsrm/RMChannelRequest.java 2007-08-29
16:30:42 UTC (rev 4506)
+++
stack/native/branches/ropalka/trunk/src/main/java/org/jboss/ws/extensions/wsrm/RMChannelRequest.java 2007-08-29
18:39:18 UTC (rev 4507)
@@ -97,7 +97,8 @@
client.disconnect();
// trace the incomming response message
- MessageTrace.traceMessage("Incoming RM Response Message",
rmResponse.getPayload());
+ if (rmResponse != null && rmResponse.getPayload() != null)
+ MessageTrace.traceMessage("Incoming RM Response Message",
rmResponse.getPayload());
return new RMChannelResponse(rmResponse);
}