Skip to content

Unable to Autowire a dependency into an @AspectJ component [SPR-8726] #13368

@spring-projects-issues

Description

@spring-projects-issues

Brandon M. opened SPR-8726 and commented

I have an @AspectJ component that has an autowired dependency which is not getting injected into the component. When the aspect attempts to use the autowired dependency, it encounters an NPE. See attached project for example along with failing test case.


Affects: 3.1 M2

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: invalidAn issue that we don't feel is valid

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions