Skip to content

"State is null" error fix for parametrized test generation #614

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

Merged
merged 1 commit into from
Jul 29, 2022

Conversation

sofurihafe
Copy link
Member

Description

Running samples with enabled parametrized test generation mode causes some tests to throw IllegalStateException, "State is null" error. This PR fixes it by starting concrete executor child process in order to process a coverage.

Fixes # (613)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Automated Testing

Utbot samples.

Manual Scenario

Run BaseStreamExampleTest. Verify that the test is generated and there is no IllegalStateException exception.

@sofurihafe sofurihafe enabled auto-merge (squash) July 29, 2022 15:59
@sofurihafe sofurihafe merged commit 64e8170 into main Jul 29, 2022
@sofurihafe sofurihafe deleted the andrey-t/concrete-executor-bug branch July 29, 2022 17:54
@sofurihafe sofurihafe linked an issue Jul 29, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Concrete Executor: State is null
2 participants