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
java.lang.ClassCastException: class ModelElementInstanceImpl cannot be cast to class BpmnModelElementInstance #4817
Comments
This sounds familiar. It might be the same issue as #3278. We see this error if we deploy a workflow that contains an unexpected (XML) element (i.e. unknown by the Zeebe model API). |
Migrated from #5896 |
I was able to reproduce this with message throw events. The error we get on the client side is quite similar we see in the log.
This is not really helpful from the user point of view. Even for us in the logs it brings us no value. |
As this occurred yet again, and users (also internal Camundos) run into this, I would propose we fix this for the next release (8.0.1). |
Related support case: https://jira.camunda.com/browse/SUPPORT-13739 |
Describe the bug
The error occurred in Camunda Cloud for Zeebe 0.23.3: https://console.cloud.google.com/errors/CM_ZxM226tXn3wE?service=zeebe&version=0.23.3&time=P1D&project=camunda-cloud-240911
From what I can tell the severity is quite low - it occurred only 2 in the last week (so low likelihood it seems, though unsure) and no user reported any issues.
To Reproduce
As it is an incident, I'm unsure how to reproduce.
Expected behavior
As
BpmnModelElementInstanceImpl
inherits fromModelElementInstanceImpl
, it seems possible that someModelElementInstanceImpl
could not be cast toBpmnModelElementInstanceImpl
, so either we have to prevent those cases, or we should expect and handle them.Log/Stacktrace
Full Stacktrace
Environment:
Related Support Case: SUPPORT-13739
The text was updated successfully, but these errors were encountered: