cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From owu...@apache.org
Subject svn commit: r1562568 - /cxf/branches/2.7.x-fixes/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java
Date Wed, 29 Jan 2014 19:53:53 GMT
Author: owulff
Date: Wed Jan 29 19:53:52 2014
New Revision: 1562568

URL: http://svn.apache.org/r1562568
Log:
NPE in MapEventLogger

Modified:
    cxf/branches/2.7.x-fixes/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java

Modified: cxf/branches/2.7.x-fixes/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java?rev=1562568&r1=1562567&r2=1562568&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java
(original)
+++ cxf/branches/2.7.x-fixes/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java
Wed Jan 29 19:53:52 2014
@@ -83,7 +83,7 @@ public class MapEventLogger implements M
         } else if (value instanceof Date) {
             return dateFormat.format(value);
         } else {
-            return value.toString();
+            return (value == null) ? "<null>" : value.toString();
         }
     }
 



Mime
View raw message