开发者社区> 问答> 正文

SpelEvaluationException: EL1015E 报错原因 -Java报错

spel运行异常,表达式执行报错


org.springframework.expression.spel.SpelEvaluationException: EL1015E: Cannot perform selection on input data of type 'null'
at org.springframework.expression.spel.ast.Selection.getValueRef(Selection.java:190)
at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:67)
at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:88)
at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:52)
at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:88)
at org.springframework.expression.spel.ast.OpGT.getValueInternal(OpGT.java:47)
at org.springframework.expression.spel.ast.OpGT.getValueInternal(OpGT.java:37)
at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:185)
at org.springframework.expression.spel.ast.OpAnd.getBooleanValue(OpAnd.java:57)
at org.springframework.expression.spel.ast.OpAnd.getValueInternal(OpAnd.java:52)
at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109)
at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:265)

展开
收起
一人吃饱,全家不饿 2020-05-26 20:32:24 2197 0
1 条回答
写回答
取消 提交回答
  • SpelEvaluationException spel 表达式报错一般均为表达式异常或对字段没有处理前判断,需检查spel表达式和执行数据

    2020-05-27 10:21:21
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Spring Cloud Alibaba - 重新定义 Java Cloud-Native 立即下载
The Reactive Cloud Native Arch 立即下载
JAVA开发手册1.5.0 立即下载