axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r633123 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/XMLUtils.java
Date Mon, 03 Mar 2008 15:19:28 GMT
Author: dims
Date: Mon Mar  3 07:19:26 2008
New Revision: 633123

URL: http://svn.apache.org/viewvc?rev=633123&view=rev
Log:
Fix for AXIS2-3542 - Possible NPE in XMLUtils

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/XMLUtils.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/XMLUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/XMLUtils.java?rev=633123&r1=633122&r2=633123&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/XMLUtils.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/XMLUtils.java Mon
Mar  3 07:19:26 2008
@@ -114,8 +114,7 @@
                                        factoryClassName);
                 }
             } catch (Exception e) {
-                //log.error(Messages.getMessage("exception00"), e);
-                saxFactory = null;
+                saxFactory = SAXParserFactory.newInstance();
             }
         } else {
             saxFactory = SAXParserFactory.newInstance();



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