Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Andy Flury, 1 year ago
org.springframework.integration.MessageHandlingException: java.lang.IllegalStateException: Error while retrieving the email contents.
via Spring JIRA by Andy Flury, 2 years ago
org.springframework.integration.MessageHandlingException: java.lang.IllegalStateException: Error while retrieving the email contents.
via Spring JIRA by Mark Pollack, 2 years ago
org.springframework.integration.MessageHandlingException: org.springframework.integration.transformer.MessageTransformationException: Expected a ':' after a key at 22 [character 23 line 1]
via Stack Overflow by Saša Šijak
, 2 years ago
org.springframework.messaging.MessageHandlingException: java.lang.IllegalStateException: Cannot process message
javax.mail.FolderClosedException: 	at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:639)	at org.springframework.integration.samples.mailattachments.support.EmailParserUtils.handleMultipart(EmailParserUtils.java:189)	at org.springframework.integration.samples.mailattachments.support.EmailParserUtils.handleMultipart(EmailParserUtils.java:251)	at org.springframework.integration.samples.mailattachments.support.EmailParserUtils.handleMessage(EmailParserUtils.java:99)	at org.springframework.integration.samples.mailattachments.support.EmailTransformer.transformit(EmailTransformer.java:41)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.springframework.expression.spel.support.ReflectiveMethodExecutor.execute(ReflectiveMethodExecutor.java:69)	at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:84)	at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:57)	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:126)	at org.springframework.integration.util.MessagingMethodInvokerHelper.processInternal(MessagingMethodInvokerHelper.java:227)	at org.springframework.integration.util.MessagingMethodInvokerHelper.process(MessagingMethodInvokerHelper.java:127)	at org.springframework.integration.handler.MethodInvokingMessageProcessor.processMessage(MethodInvokingMessageProcessor.java:73)	at org.springframework.integration.transformer.AbstractMessageProcessingTransformer.transform(AbstractMessageProcessingTransformer.java:56)	at org.springframework.integration.transformer.MessageTransformingHandler.handleRequestMessage(MessageTransformingHandler.java:67)	at org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:134)	at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73)	at org.springframework.integration.handler.MessageHandlerChain.handleMessageInternal(MessageHandlerChain.java:137)	at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73)	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.springframework.integration.core.MessagingTemplate.doSend(MessagingTemplate.java:288)	at org.springframework.integration.core.MessagingTemplate.send(MessagingTemplate.java:149)	at org.springframework.integration.endpoint.MessageProducerSupport.sendMessage(MessageProducerSupport.java:92)	at org.springframework.integration.mail.ImapIdleChannelAdapter.access$2200(ImapIdleChannelAdapter.java:56)	at org.springframework.integration.mail.ImapIdleChannelAdapter$1.run(ImapIdleChannelAdapter.java:224)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:662)