--- 
+++ 
@@ -45,6 +45,6 @@
     }
 
     private boolean toStringEquals(Matcher m, Object arg) {
-        return StringDescription.toString(m).equals(arg.toString());
+return StringDescription.toString(m).equals(String.valueOf(arg));
     }
 }