axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/client Call.java
Date Mon, 03 Dec 2001 17:49:40 GMT
dug         01/12/03 09:49:40

  Modified:    java/src/org/apache/axis/client Call.java
  Log:
  check for NPE
  
  Revision  Changes    Path
  1.49      +3 -0      xml-axis/java/src/org/apache/axis/client/Call.java
  
  Index: Call.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Call.java,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- Call.java	2001/11/30 13:51:30	1.48
  +++ Call.java	2001/12/03 17:49:40	1.49
  @@ -376,6 +376,9 @@
           ////////////////////////////////////////////////////////////////////
           BindingOperation bop = binding.getBindingOperation(opName,
                                                              null, null);
  +        if ( bop == null )
  +            throw new JAXRPCException( JavaUtils.getMessage("noOperation02",
  +                                                            opName ));
           this.removeProperty(HTTPConstants.MC_HTTP_SOAPACTION);
           list = bop.getExtensibilityElements();
           for ( int i = 0 ; list != null && i < list.size() ; i++ ) {
  
  
  

Mime
View raw message