-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug
Milestone
Description
Gary Russell opened SPR-10146 and commented
Malformed SpEL Expression causes an NPE...
new SpelExpressionParser().parseExpression("/foo");
Exception in thread "main" java.lang.NullPointerException
at org.springframework.expression.spel.ast.SpelNodeImpl.<init>(SpelNodeImpl.java:50)
at org.springframework.expression.spel.ast.Operator.<init>(Operator.java:32)
at org.springframework.expression.spel.ast.OpDivide.<init>(OpDivide.java:34)
at org.springframework.expression.spel.standard.InternalSpelExpressionParser.eatProductExpression(InternalSpelExpressionParser.java:224)
...
(null left operand for divide operator).
Affects: 3.2 GA
Reference URL: http://forum.springsource.org/showthread.php?133818-Can-t-create-bean-of-FtpOutboundGateway
Issue Links:
- SpEl does not support conjunction (&&) and disjunction (||) logic [SPR-7652] #12308 SpEl does not support conjunction (&&) and disjunction (||) logic
Referenced from: commits bff36fb
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug