Issue is:
1) Whenever a gateway is used it is mandatory to specify the type like OR, AND, XOR.
2) Before starting on teh process design, specify an ID for process. Once you start adding components, a BPMN plane is created and it takes the id of the process, which if not specified is null and fails against the rule flow xml standards, and hence the null message.