Mailbox Integration Settings didn't work after upgrade to 7.0.29566

Hi,
when we did upgrade of youtrack (we have license for 50 users) from 6.0.12634 to 7.0.29566 (6.0.12634 to 7.0.28958, then to 7.0.29566) our Mailbox Integration stop working. Youtrack doesn't create new issues.

In Mailbox Integration Settings is only "Processing folder INBOX... (X days ago) " - we didn't change mail settings (in youtrack or mail server) and I checked logs on mail server - there is everything allright - user log in and log out correctly.

In youtrack's mailbox.log is

INFO [MailboxImpl ] [tzJobProcessor3] [] Start mail fetching
INFO [MailboxImpl ] [tzJobProcessor3] [] Resolving folder <default>
INFO [MailboxImpl ] [tzJobProcessor3] [] Processing folder ...
INFO [MailboxImpl ] [tzJobProcessor3] [] Processed 0 messages from
INFO [MailboxImpl ] [tzJobProcessor3] [] Processing folder INBOX...
ERROR [ailsFromMailbox_Then] [tzJobProcessor3] [] Error while processing MailServer [imaps://iHaveRealServerHere:993]
java.lang.NoSuchFieldError: SIZE
at com.sun.mail.imap.IMAPFolder.fetch(IMAPFolder.java:1171)
at jetbrains.youtrack.mailbox.fetch.EmailFetcher.fetchMessages(EmailFetcher.java:177)
at jetbrains.youtrack.mailbox.fetch.EmailFetcher.foreachImmediateMessage(EmailFetcher.java:92)
at jetbrains.youtrack.mailbox.fetch.EmailFetcher.foreachMessage(EmailFetcher.java:57)
at jetbrains.youtrack.mailbox.fetch.EmailFetcher.foreachSubfolderMessage(EmailFetcher.java:72)
at jetbrains.youtrack.mailbox.fetch.EmailFetcher.foreachMessage(EmailFetcher.java:62)
at jetbrains.youtrack.mailbox.fetch.EmailFetcher.foreachMessage(EmailFetcher.java:49)
at jetbrains.youtrack.mailbox.persistent.MailRuleImpl.process(MailRuleImpl.java:122)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl$2$1$2.invoke(MailboxImpl.java:157)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl$2$1$2.invoke(MailboxImpl.java:145)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl.connect(MailboxImpl.java:260)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl.access$000(MailboxImpl.java:54)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl$2$1.invoke(MailboxImpl.java:145)
at jetbrains.teamsys.dnq.runtime.txn._Txn.run(_Txn.java:24)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl$2.invoke(MailboxImpl.java:132)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl.doInsideFetchLock(MailboxImpl.java:338)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl.process(MailboxImpl.java:130)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl.process(MailboxImpl.java:178)
at jetbrains.youtrack.mailbox.persistent.MailboxIntegration_fetchEmailsFromMailbox_Then.run(MailboxIntegration_fetchEmailsFromMailbox_Then.java:25)
at jetbrains.mps.businessRules.runtime.impl.RuleJobImpl._execute(RuleJobImpl.java:69)
at jetbrains.mps.businessRules.runtime.impl.RuleJobImpl.access$000(RuleJobImpl.java:14)
at jetbrains.mps.businessRules.runtime.impl.RuleJobImpl$1.run(RuleJobImpl.java:47)
at jetbrains.mps.businessRules.runtime.TransactionalExecutor$1.invoke(TransactionalExecutor.java:16)
at jetbrains.teamsys.dnq.runtime.txn._Txn.runNew(_Txn.java:492)
at jetbrains.mps.businessRules.runtime.TransactionalExecutor.execute(TransactionalExecutor.java:14)
at webr.framework.controller.BeanContainerAwareExecutorWrapper.execute(BeanContainerAwareExecutorWrapper.java:21)
at jetbrains.mps.businessRules.runtime.impl.RuleJobImpl.execute(RuleJobImpl.java:45)
at sun.reflect.GeneratedMethodAccessor307.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:269)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:312)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:114)
at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
at jetbrains.exodus.core.execution.RunnableJob.execute(RunnableJob.java:41)
at jetbrains.exodus.core.execution.Job.run(Job.java:99)
at jetbrains.exodus.core.execution.ThreadJobProcessor.executeJob(ThreadJobProcessor.java:132)
at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doExecuteJob(JobProcessorQueueAdapter.java:261)
at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doJobs(JobProcessorQueueAdapter.java:173)
at jetbrains.exodus.core.execution.ThreadJobProcessor.run(ThreadJobProcessor.java:110)
at jetbrains.exodus.core.execution.ThreadJobProcessor$1.run(ThreadJobProcessor.java:43)
at java.lang.Thread.run(Thread.java:745)


We running youtrack on Debian Jessie (with argumets -Xmx1024m -XX:MaxPermSize=300m and on openjdk version "1.8.0_111"). Could anyone help us please? Thanks

7 comments
Comment actions Permalink
Official comment

Hello, could you please submit a support request and provide there the full logs from your instance (as per p.1 here: https://youtrack-support.jetbrains.com/hc/en-us/articles/206546369-When-we-ask-you-to-provide-additional-details-logs-database-HAR-etc-)

Also please tell, do you use a JAR installation? Thank you.

Comment actions Permalink

Hi, we have the same problem. Current version is 2017.3 upgraded directly from 7.0 from zip package. 

TM

 

04 Oct 2017 10:43:53,573 INFO [MailboxImpl ] [tzJobProcessor1] [] [186-0:imaps://XXXXXXXXXXl@imap.gmail.com:993]: [Status] Start mail fetching
04 Oct 2017 10:43:56,257 INFO [MailboxImpl ] [tzJobProcessor1] [] [186-0:imaps://XXXXXXXXXX@imap.gmail.com:993]: [Status] Resolving folder [Gmail]/Wszystkie
04 Oct 2017 10:43:56,267 INFO [MailboxImpl ] [tzJobProcessor1] [] [186-0:imaps://XXXXXXXXXX@imap.gmail.com:993]: [Status] Processing folder [Gmail]/Wszystkie...
04 Oct 2017 10:43:57,778 INFO [MailboxImpl ] [tzJobProcessor1] [] [186-0:imaps://XXXXXXXXXX@imap.gmail.com:993]: [Status] Failed to process mailbox folder: SIZE
04 Oct 2017 10:43:57,787 ERROR [EmailFetcher ] [tzJobProcessor1] [] [186-0:imaps://XXXXXXXXXX@imap.gmail.com:993]: Failed to process folder [Gmail]/Wszystkie
java.lang.NoSuchFieldError: SIZE
at com.sun.mail.imap.IMAPFolder.fetch(IMAPFolder.java:1200)
at jetbrains.youtrack.mailbox.fetch.EmailFetcher.fetchMessages(EmailFetcher.java:184)
at jetbrains.youtrack.mailbox.fetch.EmailFetcher.foreachImmediateMessage(EmailFetcher.java:94)
at jetbrains.youtrack.mailbox.fetch.EmailFetcher.foreachMessage(EmailFetcher.java:59)
at jetbrains.youtrack.mailbox.fetch.EmailFetcher.foreachMessage(EmailFetcher.java:51)
at jetbrains.youtrack.mailbox.persistent.MailRuleImpl.process(MailRuleImpl.java:123)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl$2$1$2.invoke(MailboxImpl.java:160)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl$2$1$2.invoke(MailboxImpl.java:152)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl.connect(MailboxImpl.java:267)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl.access$000(MailboxImpl.java:53)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl$2$1.invoke(MailboxImpl.java:152)
at jetbrains.teamsys.dnq.runtime.txn._Txn.run(_Txn.java:24)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl$2.invoke(MailboxImpl.java:139)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl.doInsideFetchLock(MailboxImpl.java:347)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl.process(MailboxImpl.java:137)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl.process(MailboxImpl.java:181)
at jetbrains.youtrack.mailbox.persistent.MailboxImpl$1.run(MailboxImpl.java:131)
at jetbrains.mps.businessRules.runtime.TransactionalExecutor$1.invoke(TransactionalExecutor.java:24)
at jetbrains.teamsys.dnq.runtime.txn._Txn.runNew(_Txn.java:492)
at jetbrains.mps.businessRules.runtime.TransactionalExecutor.execute(TransactionalExecutor.java:22)
at webr.framework.controller.BeanContainerAwareExecutorWrapper.execute(BeanContainerAwareExecutorWrapper.java:21)
at jetbrains.charisma.persistent.QuartzThreadExecutor$1.run(QuartzThreadExecutor.java:17)
at jetbrains.exodus.core.execution.RunnableJob.execute(RunnableJob.java:41)
at jetbrains.exodus.core.execution.Job.run(Job.java:99)
at jetbrains.exodus.core.execution.ThreadJobProcessor.executeJob(ThreadJobProcessor.java:133)
at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doExecuteJob(JobProcessorQueueAdapter.java:239)
at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doJobs(JobProcessorQueueAdapter.java:160)
at jetbrains.exodus.core.execution.ThreadJobProcessor.run(ThreadJobProcessor.java:111)
at jetbrains.exodus.core.execution.ThreadJobProcessor$1.run(ThreadJobProcessor.java:43)
at java.lang.Thread.run(Thread.java:748)
04 Oct 2017 10:43:58,788 INFO [MailboxImpl ] [tzJobProcessor1] [] [186-0:imaps://XXXXXXXXXX@imap.gmail.com:993]: [Status] Processed 0 messages from [Gmail]/Wszystkie
04 Oct 2017 10:44:01,685 INFO [MailboxImpl ] [tzJobProcessor1] [] [186-0:imaps://XXXXXXXXXX@imap.gmail.com:993]: [Status] Finished mail fetching

 

0
Comment actions Permalink

Could you please also provide mailbox.log file?

0
Comment actions Permalink

This is part of mailbox.log

 

0
Comment actions Permalink

Could you please provide full logs in a support ticket?

0
Comment actions Permalink

I think it's possible but not on the public view.

0

Please sign in to leave a comment.