Skip to content

Potential null-pointer in TransactionAspectSupport.determineTransactionManager() [SPR-7153] #11812

@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened SPR-7153 and commented

The logic in TransactionInterceptor.invoke(...) retrieves TransactionAttribute from a TransactionAttributeSource which according to the API can be null. determineTransactionManager of the super class then accesses txAttr.getQualifier() without a null check. The qualifier can be simply null in case txAttr is null.


Affects: 3.0.2

Issue Links:

Referenced from: commits b0afa0c

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions