Unhandled error in event listener

I am getting this error in my console, while changing elements.

unhandled error in event listener TypeError: Cannot read properties of undefined (reading ‘includes’)
Screenshot from 2024-02-15 11-57-20

Its coming from moddle@6.2.3, bpmn-moddle.umd.cjs file, line number 1022,
and its code is like below,

 Properties.prototype.getProperty = function(target, name) {

    var model = this.model;

    var property = model.getPropertyDescriptor(target, name);

    if (property) {
      return property;

    if (name.includes(':')) {
      return null;

I am using following library versions,
“bpmn-js”: “^17.0.0”,
“bpmn-js-properties-panel”: “^0.44.1”,
“bpmn-js-token-simulation”: “^0.33.0”,
“camunda-bpmn-moddle”: “^7.0.1”,
“diagram-js”: “^14.0.0”,
“diagram-js-direct-editing”: “^2.1.2”,

is it related to library versions or not?

@philippfromme , @nikku anyone please?

I think its related to bpmn-js package, as in version 8.7.3 its working fine

Hello! Not sure how you end up with the bpmn-moddle UMD distribution when everything else looks like a standard node setup.

I think you may want to try to reproduce your issue in a way that we can have a look, and then we can help effectively.

I am using latest bpmn-js package version 17.0.2 & outdated bpmn-js-properties-panel package 0.46.0,

whenever I am changing elements, may be from bpmn-js-properties-panel package, call goes on bpmn-moddle (internally) and over that it creates issue due to above mentioned code, (name.includes…)

so bpmn-js 17.0.2 and bpmn-js-properties-panel 0.46.0 are compatible?

hey , i am facing the same problem how did you solve it?