axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ngalla...@apache.org
Subject svn commit: r501721 - /webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/FaultDescriptionImpl.java
Date Wed, 31 Jan 2007 04:21:16 GMT
Author: ngallardo
Date: Tue Jan 30 20:21:15 2007
New Revision: 501721

URL: http://svn.apache.org/viewvc?view=rev&rev=501721
Log:
AXIS2-2063
Contributor: Dustin Amrhein

Dustin's fix for an NPE.

Modified:
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/FaultDescriptionImpl.java

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/FaultDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/FaultDescriptionImpl.java?view=diff&rev=501721&r1=501720&r2=501721
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/FaultDescriptionImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/FaultDescriptionImpl.java
Tue Jan 30 20:21:15 2007
@@ -97,7 +97,7 @@
             // @WebFault may not be present
             WebFault annotation = getAnnoWebFault();
             
-            if (annotation != null &&
+            if (annotation != null && annotation.faultBean() != null && 
                 annotation.faultBean().length() > 0) {
                 faultBean = annotation.faultBean();
             } else {



---------------------------------------------------------------------
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