Camunda 8 - Pega XML to BPMN Converter Null Exception

I encountered an issues while working with Camunda 8. when running the main method, i received the following exception. It seems to be related to the flow node information being null during ID generation.

Exception in thread “main” java.lang.NullPointerException: Cannot invoke “org.camunda.bpmn.generator.FlowNodeInfo.getNewId()” because “fromFNI” is null
at org.camunda.bpmn.generator.BPMNGenFromPega.main

I have also noticed code related to Data-MO-Connector-Transition has been commented in BPMGenFromPega.Java
pegaElementsMap.put(“Data-MO-Connector-Transition”, bpmnElement);

I wanted to check if there a known fix or workaround for this issue.

Hi Khareem, I wrote the converters. There might be an element the converter does not take into account. If possible you can send the model to me to have a look - joe.pappas@camunda.com. My Git handle is superbeagle. Also, if you can provide a screen shot of what the process looks like in Pega, it would help with debugging.

Joe

Hi Joe,

Thanks for the update. can you please share converters. i have sent you requested screen shots. please check your inbox.

Thanks !

1 Like

Hi @Khareem I put in a null check for unexpected XML. It simply ignores it and as a result, some objects may not get converted. In your case it meant a missing start event which is easily added back. I sent you an email with the converted process. Enjoy!

Joe

2 Likes