Prevent an NPE for null parameter arrays.

experimental
Paul Speed 10 years ago
parent 31fc1d9ac6
commit 9a8aa3b394
  1. 2
      jme3-networking/src/main/java/com/jme3/network/service/rpc/msg/RpcCallMessage.java

@ -92,7 +92,7 @@ public class RpcCallMessage extends AbstractMessage {
+ (isAsync() ? ", async" : ", sync")
+ ", objId=" + objId
+ ", procId=" + procId
+ ", args.length=" + args.length
+ ", args.length=" + (args == null ? 0 : args.length)
+ "]";
}
}

Loading…
Cancel
Save