Fix a issues that JSONPRCAction could be null.