Author: dkulp
Date: Thu May 27 16:30:57 2010
New Revision: 948897
URL: http://svn.apache.org/viewvc?rev=948897&view=rev
Log:
Merged revisions 948585 via svnmerge from
https://svn.apache.org/repos/asf/cxf/trunk
........
r948585 | dkulp | 2010-05-26 16:52:10 -0400 (Wed, 26 May 2010) | 1 line
[CXF-2821] Add an NPE guard
........
Modified:
cxf/branches/2.2.x-fixes/ (props changed)
cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/WSIBPValidator.java
Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified:
cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/WSIBPValidator.java
URL:
http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/WSIBPValidator.java?rev=948897&r1=948896&r2=948897&view=diff
==============================================================================
---
cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/WSIBPValidator.java
(original)
+++
cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/WSIBPValidator.java
Thu May 27 16:30:57 2010
@@ -297,6 +297,10 @@ public class WSIBPValidator extends Abst
Binding binding = (Binding)ite.next();
String style = SOAPBindingUtil.getCanonicalBindingStyle(binding);
+
+ if (binding.getPortType() == null) {
+ return true;
+ }
//