-
Notifications
You must be signed in to change notification settings - Fork 638
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
Unhandled NoSuchElementException
when looking for executable process while deploying BPMN resource
#11414
Comments
Might be related to #11392 |
We need to understand the impact before we can prioritize this. Let's investigate whether this leads to a blacklisted instance. |
I had a look into this with @koevskinikola. We suspect that somehow during the deployment, the deployment record process metadata does not contain a process that we do have in the bpmn file. As a result we have a process in the bpmn file that we have not stored as a We are unsure how this could occur and how we can reproduce it. The exception has occurred 3 times in trial clusters thus far. |
We discussed within the team and we will have another look into this issue together during out next mob-programming hour 2 weeks from now. |
Today, the team looked again at this issue. Having no way to reproduce it nor a way to find out how it might have happened makes this hard to debug. I've had another look at several parts:
This question led me down a path where I noticed something:
So we could perhaps swat two flies at once (this is a Dutch saying):
I'm curious as to what others think about this. Is that worth it? WDYT? |
Hey @korthout, I would vote for the following:
My reasoning is that currently we still don't understand why the bug is happening. The code you're suggesting for removal is just the place where the issue becomes visible (through a UPDATE: Maybe we can wrap the existing exception here into a more understandable message like: "This might indicate a bug with our deployment process, please raise an issue with our GitHub tracker"? |
Thanks @koevskinikola
👍 I like this idea, but perhaps we can change the message. Likely, we read the error message in our own environment. So there is no need to ask users to report the bug if we already know it exists. Let's add some details about the current scenario instead. EDIT: I've moved this back into |
Implemented a PR to create a detailed error message. We should re-open it when we encounter the log message:
cc: @korthout |
12220: [Backport stable/8.1] refactor(engine): specify an error message when deployed process id not found in state r=oleschoenburg a=backport-action # Description Backport of #12196 to `stable/8.1`. relates to #11414 12429: [Backport stable/8.1] test(qa): save logs of zeebe containers if the test fails r=oleschoenburg a=backport-action # Description Backport of #12428 to `stable/8.1`. relates to #12396 12468: [Backport 8.1]: skip unnecessary blacklist check r=oleschoenburg a=Zelldon ## Description Backport #12306 <!-- Please explain the changes you made here. --> ## Related issues <!-- Which issues are closed by this PR or are related --> closes to #12041 Co-authored-by: berkaycanbc <berkay.can@camunda.com> Co-authored-by: Deepthi Devaki Akkoorath <deepthidevaki@gmail.com> Co-authored-by: Meggle (Sebastian Bathke) <sebastian.bathke@camunda.com>
Describe the bug
To Reproduce
Unclear
Expected behavior
Invalid BPMN resources should be handled gracefully and not result in an unhandled
NoSuchElementException
.Log/Stacktrace
Full Stacktrace
Environment:
Error group
The text was updated successfully, but these errors were encountered: