Skip to content

fix In method calculateMaxIterationsValue, Integer.parseInt does not handle NumberFormatException. Invalid loop expressions will cause crashes - #4245

Closed
panshaobin wants to merge 1 commit into
flowable:mainfrom
panshaobin:main.8
Closed

fix In method calculateMaxIterationsValue, Integer.parseInt does not handle NumberFormatException. Invalid loop expressions will cause crashes#4245
panshaobin wants to merge 1 commit into
flowable:mainfrom
panshaobin:main.8

Conversation

@panshaobin

Copy link
Copy Markdown
Contributor

fix In method calculateMaxIterationsValue, Integer.parseInt does not handle NumberFormatException. Invalid loop expressions will cause crashes

…handle NumberFormatException. Invalid loop expressions will cause crashes
@filiphr

filiphr commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@panshaobin can you please provide a test case for this? Something like this shouldn't really happen, if for whatever reason it happens then it means that there is some misconfiguration somewhere and having a loud exception is more correct. Therefore, I am closing this for now.

@filiphr filiphr closed this Aug 3, 2026
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

Successfully merging this pull request may close these issues.

2 participants