axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r492124 - /webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java
Date Wed, 03 Jan 2007 12:37:52 GMT
Author: dims
Date: Wed Jan  3 04:37:52 2007
New Revision: 492124

URL: http://svn.apache.org/viewvc?view=rev&rev=492124
Log:
prevent NPE that caused build break

Modified:
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java?view=diff&rev=492124&r1=492123&r2=492124
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java
(original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java
Wed Jan  3 04:37:52 2007
@@ -48,7 +48,8 @@
      * @throws org.apache.axis2.AxisFault
      */
     public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
-        String scope = msgContext.getAxisService().getScope();
+        AxisService service = msgContext.getAxisService();
+        String scope = service == null ? null : service.getScope();
         ServiceContext serviceContext = msgContext.getServiceContext();
 
         if ((msgContext.getOperationContext() != null)



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


Mime
View raw message