**[Artem Bilan](https://jira.spring.io/secure/ViewProfile.jspa?name=abilan)** opened **[SPR-12040](https://jira.spring.io/browse/SPR-12040?redirect=false)** and commented The simple test-case to reproduce: ```java @Test public void testSpelCompiler () { SpelParserConfiguration configuration = new SpelParserConfiguration(SpelCompilerMode.IMMEDIATE, this.getClass().getClassLoader()); Expression expression = new SpelExpressionParser(configuration) .parseExpression("payload / 2"); expression.getValue(new GenericMessage<Integer>(4)); expression.getValue(new GenericMessage<Integer>(6)); } ``` --- **Affects:** 4.1 RC1 **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/59080ff2b21e0e442238ae7a861351b9df76ba0f