Skip to content

members of Interface TypeInformation are null when AOP and Data Rest are enabled and a bean is marked @Lazy #40510

Closed as not planned
@james-bryant

Description

@james-bryant

I have encountered a very strange issue and I'm not sure what to make of it.
It seems that: if AOP is enabled, Spring Data Rest is enabled, and a bean is marked @Lazy, then the constants in TypeInformation return null instead of thier expected values. I was able to narrow this down to a minimal example project.

lazy-proxy-issue.zip

That example project encompasses pretty much everything I know about this problem in the most minimal form I could find; but I'm more than happy to answer any questions if I can.

Metadata

Metadata

Assignees

Labels

for: external-projectFor an external project and not something we can fixstatus: invalidAn issue that we don't feel is valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions