org.springframework.integration.MessageHandlingException

error occurred in message handler [org.springframework.integration.aggregator.AggregatingMessageHandler#0]

Samebug tips2

If you're using boot 1.4.x you need to modify the @springBootTest annotation to @SpringBootTest(classes = DataFlowServerConfiguration.class). 1.3.8 doesn't have this problem as well.


rafaelrafael

Spring Boot 1.4 changed their annotation system a little. Try using the @SpringBootApplication annotation for better results.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web184

  • via Unknown by Gary Russell,
  • via Unknown by Gary Russell,
  • via Stack Overflow by Sunil Ks
    ,
  • Stack trace

    • org.springframework.integration.MessageHandlingException: error occurred in message handler [org.springframework.integration.aggregator.AggregatingMessageHandler#0] at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:79) at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:115) at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:102) at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:77) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:157) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:128) at org.springone2gx_2011.integration.aggregator.AggregatorDemo.main(AggregatorDemo.java:48) Caused by: java.lang.IllegalStateException: Could not locate created date for groupId=SMS_EXACTTARGET_100 at org.springframework.util.Assert.state(Assert.java:384) at org.springframework.integration.jdbc.JdbcMessageStore.getMessageGroup(JdbcMessageStore.java:422) at org.springframework.integration.aggregator.AbstractCorrelatingMessageHandler.handleMessageInternal(AbstractCorrelatingMessageHandler.java:204) at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73) ... 6 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Михайло ТітовМихайло Тітов
    3 times, last one
    tvrmsmithtvrmsmith
    2 times, last one
    AxeloAxelo
    2 times, last one
    MattyMatty
    2 times, last one
    64 more bugmates