-
Couldn't load subscription status.
- Fork 38.8k
Closed
Closed
Copy link
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Oliver Drotbohm opened SPR-11031 and commented
PropertyOrFieldReference.getValue(…) accesses ExpressionState.getConfiguration() without a check for null. If you've set up the ExpressionState with an EvaluationContext only, the configuration will be null.
Generally, ExpressionState could have a final configuration, default it to the default config used in SpelExpressionParser and let the constructors delegate to each other to avoid missing an assignment.
Affects: 3.2.4
Issue Links:
- Support for increment (++) operator in SpEL [SPR-9751] #14385 Support for increment (++) operator in SpEL
- DATAMONGO-787 Guard against SpEL issue in Spring 3.2.4
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement