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

@SpringBootTest now throws a NullPointerException rather than a helpful IllegalStateException when @SpringBootConfiguration is not found #33371

Closed
wants to merge 1 commit into from

Conversation

lishangbu
Copy link
Contributor

close #33370

@pivotal-cla
Copy link

@lishangbu Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 26, 2022
@pivotal-cla
Copy link

@lishangbu Thank you for signing the Contributor License Agreement!

@wilkinsona wilkinsona changed the title Avoid NPE when @SpringBootConfiguration not found in spring test environment @SpringBootTest now throws a NullPointerException rather than a helpful IllegalStateException when @SpringBootConfiguration is not found Nov 28, 2022
@wilkinsona wilkinsona added type: regression A regression from a previous release and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 28, 2022
@wilkinsona wilkinsona added this to the 3.0.x milestone Nov 28, 2022
@mhalbritter mhalbritter self-assigned this Dec 1, 2022
@mhalbritter
Copy link
Contributor

Thank you and congratulations on your first contribution to Spring Boot!

@mhalbritter mhalbritter modified the milestones: 3.0.x, 3.0.1 Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression A regression from a previous release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spring Boot Test cannot give a clear message but throw NPE now when @SpringBootConfiguration cannot be found
5 participants