Sometimes error when placing bpmn elements on each other
See original GitHub issueIn the new 1.12.0-alpha2 when I want to model a diagram
and I place bpmn elements on each other, sometimes the log opens and shows:
TypeError: Cannot read property 'x' of undefined at isPointInsideBBox (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:27654:16) at insertShape (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:27704:12) at file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:27774:7 at file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:79932:15 at invokeFunction (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:82227:13) at EventBus._invokeListener (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:82129:19) at EventBus._invokeListeners (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:82117:24) at EventBus.fire (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:82081:24) at CommandStack._fire (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:80363:29) at CommandStack._internalExecute (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:80437:10) [error] TypeError: Cannot read property 'x' of undefined at isPointInsideBBox (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:27654:16) at insertShape (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:27704:12) at file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:27774:7 at file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:79932:15 at invokeFunction (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:82227:13) at EventBus._invokeListener (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:82129:19) at EventBus._invokeListeners (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:82117:24) at EventBus.fire (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:82081:24) at CommandStack._fire (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:80363:29) at CommandStack._internalExecute (file:///private/var/folders/75/hk69zssn0j998mkp524g_0f00000gn/T/AppTranslocation/3E812149-50AA-4CA0-AE39-5E1AB101AF2E/d/CamundaModeler.app/Contents/Resources/app.asar/public/index.js:80437:10) [error]
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
awesome - thanks for quick fix!
You can reproduce this by dropping an element onto another element while the mouse cursor is on a sequence flow. This will trigger drop-on-flow behavior which then fails.