**[Wojciech Gruszczyk](https://jira.spring.io/secure/ViewProfile.jspa?name=jestem_wojtek)** opened **[SPR-16123](https://jira.spring.io/browse/SPR-16123?redirect=false)** and commented Bug proof: ```java package com.demo.bugproof; import org.junit.Test; import org.springframework.expression.EvaluationException; import org.springframework.expression.spel.standard.SpelExpressionParser; public class SpelNPEDemoTest { @Test(expected = EvaluationException.class) public void npeBugProof() { new SpelExpressionParser().parseExpression("demo").setValue(new SomePOJO(), null); } private class SomePOJO { private boolean demo; public boolean isDemo() { return demo; } public void setDemo(final boolean demo) { this.demo = demo; } } } ``` --- **Affects:** 4.3.11 **Issue Links:** - #20215 Backport selected refinements from the nullability efforts in 5.0 **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/fd6f2bd6a42ff385f2cc6bbd213ee14a7c40c10d