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 di...@apache.org on 2007/04/01 03:38:03 UTC
svn commit: r524504 -
/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java
Author: dims
Date: Sat Mar 31 18:38:02 2007
New Revision: 524504
URL: http://svn.apache.org/viewvc?view=rev&rev=524504
Log:
protect from one more NPE
Modified:
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java
Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java?view=diff&rev=524504&r1=524503&r2=524504
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java Sat Mar 31 18:38:02 2007
@@ -119,9 +119,11 @@
// actually have useful code under EndpointDescription.getHandlerList()
List<Handler> handlers = null;
- InvocationContext ic = msgCtx.getInvocationContext();
- if(ic != null) {
- handlers = ic.getHandlers();
+ if(msgCtx != null) {
+ InvocationContext ic = msgCtx.getInvocationContext();
+ if(ic != null) {
+ handlers = ic.getHandlers();
+ }
}
if(handlers == null) {
HandlerResolverImpl hResolver = new HandlerResolverImpl(endpointDesc);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org