Repository navigation
NullPointerException thrown when ConfigurationClassEnhancer creates CGLIB proxy #34423
Copy link
Copy link
Closed
Closed
Copy link
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: regressionA bug that is also a regressionA bug that is also a regression
Milestone
Description
Activity
- addedstatus: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on
on Feb 13, 2025 - addedin: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)
on Feb 13, 2025 - changed the title
[-]NPE while framework is creating proxies[/-][+]`NullPointerException` thrown when `ConfigurationClassEnhancer` creates CGLIB proxy[/+]on Feb 13, 2025 - addedtype: regressionA bug that is also a regressionA bug that is also a regressionand removedstatus: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on
on Feb 14, 2025 - addedstatus: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchesand removed
on Feb 14, 2025 same in spring-cloud-kubernetes : https://github.com/spring-cloud/spring-cloud-kubernetes/actions/runs/13334222142/job/37245819905
- added a commit that references this issue
on Feb 18, 2025 - added 3 commits that reference this issue
on Feb 18, 2025 I found that for me changing
@Configurationto@Configuration(proxyBeanMethods = false)worked as a workaround for this NullPointerException with Spring Framework 6.2.3 (Spring Boot 3.4.3).Reacted by rob-valor- added 2 commits that reference this issue
on Feb 24, 2025 - added 2 commits that reference this issue
on Feb 26, 2025 - marked CGLIB error since upgrading to Spring Boot 3.4.3 spring-boot#44492 as a duplicate of this issue
on Feb 28, 2025
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: regressionA bug that is also a regressionA bug that is also a regression
Spring cloud uses boots dependency management of framework
@sbrannen thinks it mightt be related to #34274
I can share links to CI builds if needed.
These are examples of failing tests https://github.com/spring-cloud/spring-cloud-stream/blob/fb3c889c9cbbbe0314824f401895118ae4b37a27/core/spring-cloud-stream-integration-tests/src/test/java/org/springframework/cloud/stream/binding/BindingServiceTests.java#L542-L557