AnsweredAssumed Answered

Bar File Deployment with BOM does not work

Question asked by frauke.heyl on Jun 21, 2017
Latest reply on Jul 7, 2017 by ryandawson


I have a BAR file which contains a BPMN file, which is UTF-8 encoded with a BOM.

With our old Activiti version 5.11 deployment worked with that BAR file, but now after updating to Activiti 5.22.0 I get a BPMN parse error:

Caused by: ParseError at [row,col]:[1,1]
Message: Content ist nicht zulässig in Prolog.
    at ~[?:1.8.0_121]
    at org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel( ~[activiti-bpmn-converter-5.22.0.jar:5.22.0]

Looking into it with a HEX Editor revealed the BOM.

Is there a workaround to make the deployment more tolerant, like the old one was?


Thank you for any help!

Best regards