Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Complete
-
Affects Version/s: 2.0 M7
-
Fix Version/s: 2.0 RC1
-
Component/s: None
-
Labels:None
Description
The implementation for Splitters on this topic must have changed from M3 to M7. When providing an empty ArrayList object to a splitter, in M3 no message was passed to the outputChannel. With the M7 release, an ArrayList object is send to the outputChannel.
Easy way to verify is the Cafe sample. Remove the orderlines from the order and you see the message.
Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 8): Field or property 'iced' cannot be found on object of type 'java.util.ArrayList' at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:206) at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:71) at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:57) at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:135) at org.springframework.expression.spel.ast.Ternary.getValueInternal(Ternary.java:47) at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:102) at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:102) at org.springframework.integration.util.AbstractExpressionEvaluator.evaluateExpression(AbstractExpressionEvaluator.java:100) at org.springframework.integration.util.AbstractExpressionEvaluator.evaluateExpression(AbstractExpressionEvaluator.java:74) ... 34 more
For us this is a serious problem,