Project

General

Profile

Bug #61074

swa ignores FolderNotFoundException and does not reload folder tree on getting mailbox changes

Added by Alexey Bobyr almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Alexey Bobyr
Category:
Scalix Webmail (SWA)
Target version:
Start date:
11/28/2017
Due date:
% Done:

0%

Estimated time:
Operation System:
--

Description

     at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:3910)
        at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:3861)
        ... 31 more

2017-11-27 23:56:59.920 [FATAL] [ajp-nio2-8009-exec-61] [MailFolder.<init>:73] can't open folder [Arquivados]
javax.mail.FolderNotFoundException: Arquivados not found
        at com.sun.mail.imap.IMAPFolder.checkExists(IMAPFolder.java:453) ~[javax.mail-1.6.1-SNAPSHOT.jar:1.6.1-SNAP
SHOT]
        at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:1066) ~[javax.mail-1.6.1-SNAPSHOT.jar:1.6.1-SNAPSHOT]
        at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:999) ~[javax.mail-1.6.1-SNAPSHOT.jar:1.6.1-SNAPSHOT]
        at com.scalix.swa.service.MailServices.selectFolder(MailServices.java:485) ~[classes/:?]
        at com.oddpost.server.mail.MailFolder.<init>(MailFolder.java:71) [classes/:?]
        at com.scalix.swa.service.StatCommand.retrieveMailFolderAndStat(StatCommand.java:320) [classes/:?]
        at com.scalix.swa.service.StatCommand.exec(StatCommand.java:123) [classes/:?]
        at com.oddpost.server.module.SoapMail.status(SoapMail.java:202) [classes/:?]
        at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144]
        at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:215) [classes/:?]
        at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:196) [classes/:?]
        at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:140) [classes/:?]
        at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:44) [classes/:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [servlet-api.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catal
ina.jar:8.5.23]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:
8.5.23]
        at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.8.2.ja
r:2.8.2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catal
ina.jar:8.5.23]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:
8.5.23]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [catalina.jar:8.5.23
]

2017-11-27 23:56:59.922 [ERROR] [ajp-nio2-8009-exec-61] [SoapMail.status:271] Failed to execute status command
com.oddpost.soap.SoapFault: null
        at com.oddpost.server.mail.MailFolder.<init>(MailFolder.java:74) ~[classes/:?]
        at com.scalix.swa.service.StatCommand.retrieveMailFolderAndStat(StatCommand.java:320) ~[classes/:?]
        at com.scalix.swa.service.StatCommand.exec(StatCommand.java:123) ~[classes/:?]
        at com.oddpost.server.module.SoapMail.status(SoapMail.java:202) [classes/:?]
        at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144]
        at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:215) [classes/:?]
        at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:196) [classes/:?]
        at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:140) [classes/:?]
        at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:44) [classes/:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [servlet-api.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.23]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
        at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.8.2.jar:2.8.2]

        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.23]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_144]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_144]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.23]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_144]
2017-11-27 23:57:00.176 [ERROR] [ajp-nio2-8009-exec-61] [SoapMail.status:284] ip: (ip unavailable); username: moliveira@brhc.com.br; message: Failed to get folder permissions for Arquivados

javax.mail.MessagingException: A12 NO MYRIGHTS failure: can't get rights for "Arquivados";
  nested exception is:
        com.sun.mail.iap.CommandFailedException: A12 NO MYRIGHTS failure: can't get rights for "Arquivados" 
        at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:3866)
        at com.oddpost.server.module.SoapMail.status(SoapMail.java:278)
        at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:215)
        at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:196)
        at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:140)
        at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:44)
        at javax.servlet.http.HttpServlet.service(HttpServlet.jav

with error msgs at SWA.

(1) An error occurred when retrieving metadata of the folder 'Arquivados', and
(2) An error occurred. Please talk to your sysadmin in the case the error persists. #CMD017.

History

#1

Updated by Alexey Bobyr almost 2 years ago

  • Subject changed from swa ignores FolderNotFoundException . does not reload folder tree to swa ignores FolderNotFoundException and does not reload folder tree
#2

Updated by Alexey Bobyr over 1 year ago

  • Subject changed from swa ignores FolderNotFoundException and does not reload folder tree to swa ignores FolderNotFoundException and does not reload folder tree on getting mailbox changes
  • Status changed from New to Resolved
  • Target version changed from 12.7 to 12.7.1

Also available in: Atom PDF