As discussed in #1571, it turns out null is not valid for optional *int32 parameters. There are definitely RPC commands with optional ints such as getchaintxstats (implemented in #1571) and getnodeaddresses (implemented in #1590), and we should support entering null on the command line for these parameters, since they're optional.
cc @lindlof, add any other details if you'd like