ranjithkumarravikumar52 / issue-tracker

spring boot, spring mvc, MySQL, H2 and thymeleaf issue tracker app
0 stars 0 forks source link

Exception evaluation springEL expression in issue controller test #113

Closed ranjithkumarravikumar52 closed 5 years ago

ranjithkumarravikumar52 commented 5 years ago

Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1007E: Property or field 'OPEN' cannot be found on null
    at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:213)
    at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104)
    at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51)
    at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406)
    at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90)
    at org.springframework.expression.spel.ast.MethodReference.getArguments(MethodReference.java:163)
    at org.springframework.expression.spel.ast.MethodReference.getValueRef(MethodReference.java:80)
    at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:68)
    at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:89)
    at org.springframework.expression.spel.ast.OpEQ.getValueInternal(OpEQ.java:42)
    at org.springframework.expression.spel.ast.OpEQ.getValueInternal(OpEQ.java:32)
    at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:185)
    at org.springframework.expression.spel.ast.Ternary.getValueInternal(Ternary.java:53)
    at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109)
    at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328)
    at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263)
    ... 98 more

Guide