Fix NullPointerException in RPCRequest.toString().

Patch by: rdamazio
Review by: bobv


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@4579 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/server/rpc/RPCRequest.java b/user/src/com/google/gwt/user/server/rpc/RPCRequest.java
index 8663454..b691d52 100644
--- a/user/src/com/google/gwt/user/server/rpc/RPCRequest.java
+++ b/user/src/com/google/gwt/user/server/rpc/RPCRequest.java
@@ -96,6 +96,8 @@
         String escapedStrParam = strParam.replaceAll("\\\"", "\\\\\"");
         callSignature.append(escapedStrParam);
         callSignature.append('"');
+      } else if (param == null) {
+        callSignature.append("null");
       } else {
         // We assume that anyone who wants to use this method will implement
         // toString on his serializable objects.