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 Stack Overflow by Kirill G.
, 1 year ago
via Oracle Community by db5459f6-7799-4209-bafe-b44400fbfd38, 1 year ago
message number (21) out of bounds (20)
via Oracle Community by 843834, 1 year ago
message number out of bounds
via Oracle Community by user10546856, 1 year ago
via JIRA by Anfield Leung, 1 year ago
java.lang.ArrayIndexOutOfBoundsException: message number (7) out of bounds (6)	at com.sun.mail.imap.MessageCache.getMessage(MessageCache.java:135)	at com.sun.mail.imap.MessageCache.getMessageBySeqnum(MessageCache.java:164)	at com.sun.mail.imap.IMAPFolder.getMessageBySeqNumber(IMAPFolder.java:3005)	at com.sun.mail.imap.IMAPFolder.search(IMAPFolder.java:1863)	at org.springframework.integration.mail.ImapMailReceiver.searchForNewMessages(ImapMailReceiver.java:202)	at org.springframework.integration.mail.ImapMailReceiver.waitForNewMessages(ImapMailReceiver.java:167)	at org.springframework.integration.mail.ImapIdleChannelAdapter$IdleTask.run(ImapIdleChannelAdapter.java:220)	at org.springframework.integration.mail.ImapIdleChannelAdapter$ReceivingTask.run(ImapIdleChannelAdapter.java:190)	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)