TypeError: Cannot convert undefined or null to object in 1.12.0

Hi,

I’ve upgraded Camunda Modeler to 1.12.0, and it looks like the new version cannot handle some of my diagrams. When I try to move elements around, I get the following error:

TypeError: Cannot convert undefined or null to object
    at assign (<anonymous>)
    at assign (file:///C:/Users/Stas/Downloads/camunda-modeler-1.12.0-win32-x64/camunda-modeler/resources/app.asar/public/index.js:154030:19)
    at BpmnUpdater.updateBounds (file:///C:/Users/Stas/Downloads/camunda-modeler-1.12.0-win32-x64/camunda-modeler/resources/app.asar/public/index.js:26870:3)
    at updateBounds (file:///C:/Users/Stas/Downloads/camunda-modeler-1.12.0-win32-x64/camunda-modeler/resources/app.asar/public/index.js:26690:10)
    at file:///C:/Users/Stas/Downloads/camunda-modeler-1.12.0-win32-x64/camunda-modeler/resources/app.asar/public/index.js:26717:7
    at invokeFunction (file:///C:/Users/Stas/Downloads/camunda-modeler-1.12.0-win32-x64/camunda-modeler/resources/app.asar/public/index.js:103679:13)
    at EventBus._invokeListener (file:///C:/Users/Stas/Downloads/camunda-modeler-1.12.0-win32-x64/camunda-modeler/resources/app.asar/public/index.js:103581:19)
    at EventBus._invokeListeners (file:///C:/Users/Stas/Downloads/camunda-modeler-1.12.0-win32-x64/camunda-modeler/resources/app.asar/public/index.js:103569:24)
    at EventBus.fire (file:///C:/Users/Stas/Downloads/camunda-modeler-1.12.0-win32-x64/camunda-modeler/resources/app.asar/public/index.js:103533:24)
    at file:///C:/Users/Stas/Downloads/camunda-modeler-1.12.0-win32-x64/camunda-modeler/resources/app.asar/public/index.js:68431:14  [error]

The previous version, 1.11.3, works fine with all my diagrams.

Here is an example of a diagram that fails in 1.12.0 but works in 1.11.3.

modeler_troubleshooting.bpmn (2.9 KB)