Closed
Description
When trying to upgrade from version 5.1.8 to 5.2.1, our HTTP inbound gateway started throwing NPEs when evaluating header functions. Our code is quite basic:
IntegrationFlows.from(
inboundGateway( gatewayPath )
.headerFunction(SOME_HEADER, ent -> getSomeHeaderValue(ent ) ) // ent is null
Seems to be related to the call FunctionExpression.getValue(...)
which ignores EvaluationContext.getRootObject()
Do you need more info on this?