cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From owu...@apache.org
Subject svn commit: r1562563 - /cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java
Date Wed, 29 Jan 2014 19:49:22 GMT
Author: owulff
Date: Wed Jan 29 19:49:21 2014
New Revision: 1562563

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

Modified:
    cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java

Modified: cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java
URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java?rev=1562563&r1=1562562&r2=1562563&view=diff
==============================================================================
--- cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java
(original)
+++ cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/event/map/MapEventLogger.java
Wed Jan 29 19:49:21 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