Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError when invoking Java method inside BKM #2821

Open
kiso19 opened this issue Dec 18, 2024 · 0 comments
Open

TypeError when invoking Java method inside BKM #2821

kiso19 opened this issue Dec 18, 2024 · 0 comments

Comments

@kiso19
Copy link

kiso19 commented Dec 18, 2024

Description:
I encountered a TypeError while attempting to invoke a Java method inside a Business Knowledge Model (BKM) in the DMN editor. The error occurs consistently and prevents the proper execution of the intended functionality.

Steps to Reproduce:

  1. Open the DMN editor at sandbox.kie.org.
  2. Create or open a DMN model.
  3. Add a Business Knowledge Model (BKM) to the canvas.
  4. Attempt to invoke a Java method inside the BKM.
  5. Observe the error.

Expected Behavior:
The Java method should be invoked successfully within the BKM, and the corresponding behavior should execute as expected.

Actual Behavior:
The following error occurs, halting the operation:

{
"name": "TypeError",
"message": "Cannot assign to read only property 'expression' of object '#'",
"stack": "TypeError: Cannot assign to read only property 'expression' of object '#'
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4919143
at getNewExpression (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4772205)
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4878098
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:5125756
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4761941
at Object.produce (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4762093)
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4761925
at i (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4620915)
at n.setState (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:5543209)
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:5125703
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4878019
at setExpression (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4772146)
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4919111
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4854570
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4829227
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4829276
at https://sandbox.kie.org/new-dmn-editor-envelope.js:2:6080711
at Pl (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4391159)
at t.unstable_runWithPriority (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4548539)
at Go (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4331794)
at Il (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4390622)
at Be (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4402863)
at Qt (https://sandbox.kie.org/new-dmn-editor-envelope.js:2:4310559)"
}

Environment:
Product: https://sandbox.kie.org/#/
Product Version: 10.0.0
Browser: Chrome 131.0.6778
Operating System: Windows 11

Video to Reproduce:
Bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant