cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1332490 - /cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
Date Tue, 01 May 2012 01:29:59 GMT
Author: dkulp
Date: Tue May  1 01:29:59 2012
New Revision: 1332490

URL: http://svn.apache.org/viewvc?rev=1332490&view=rev
Log:
Fix NPE in some tests with j5

Modified:
    cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java

Modified: cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java?rev=1332490&r1=1332489&r2=1332490&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java (original)
+++ cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java Tue
May  1 01:29:59 2012
@@ -126,6 +126,7 @@ public class JAXBDataBinding extends Abs
                     src.setPublicId(publicId);
                     Document doc = StaxUtils.read(src);
                     setNode(doc);
+                    nd = super.getNode();
                 } catch (Exception ex) {
                     throw new RuntimeException(ex);
                 }



Mime
View raw message