Project

General

Profile

Bug #61113

NullPointerException during fetching scalix dav body data

Added by Alexey Bobyr over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Alexey Bobyr
Category:
Scalix API
Target version:
Start date:
02/27/2018
Due date:
% Done:

0%

Estimated time:
Operation System:
--

Description

018-02-27 15:21:02.461 [INFO ] [CacheResynchThread-33] [CacheResynchThreadPoolExecutor.afterExecute:116] Thread null: exited with throwable null
2018-02-27 15:21:44.843 [FATAL] [http-nio2-8080-exec-5] [Imap.select:2183] javax.mail.MessagingException: * BYE Autologout, IMAP Server logging out;
  nested exception is:
    com.sun.mail.iap.ConnectionException: * BYE Autologout, IMAP Server logging out
2018-02-27 15:22:12.577 [ERROR] [http-nio2-8080-exec-2] [Imap.getStore:2312] Attempting to reset the IMAP connection...
2018-02-27 15:23:15.125 [FATAL] [http-nio2-8080-exec-11] [ImapDataCache.ensureScalixDavBodyPopulated:416] Could not fetch scalix dav body data for 003a11d720e7a6cf
2018-02-27 15:23:15.131 [WARN ] [http-nio2-8080-exec-11] [RestServlet.sendError:28] Sending error
com.scalix.api.service.ServiceException: Could not fetch scalix dav body data
    at com.scalix.api.mailbox.ImapDataCache.ensureScalixDavBodyPopulated(ImapDataCache.java:440) ~[scalix-api.jar:1.0]
    at com.scalix.api.mailbox.ImapDataCache.getMessages(ImapDataCache.java:388) ~[scalix-api.jar:1.0]
    at com.scalix.api.mailbox.Mailbox.getMessages(Mailbox.java:348) ~[scalix-api.jar:1.0]
    at com.scalix.api.mailbox.SyncService.proccessMessageRefs(SyncService.java:184) ~[scalix-api.jar:1.0]
    at com.scalix.api.mailbox.SyncService.getMessageChanges(SyncService.java:168) ~[scalix-api.jar:1.0]
    at com.scalix.api.rest.SyncServlet.doGet(SyncServlet.java:122) [scalix-api.jar:1.0]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) [servlet-api.jar:?]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:?]
    at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:165) [spring-webmvc-5.0.0.RELEASE.jar:5.0.0.RELEASE]
    at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:176) [spring-webmvc-5.0.0.RELEASE.jar:5.0.0.RELEASE]
    at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52) [spring-webmvc-5.0.0.RELEASE.jar:5.0.0.RELEASE]
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) [spring-webmvc-5.0.0.RELEASE.jar:5.0.0.RELEASE]
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) [spring-webmvc-5.0.0.RELEASE.jar:5.0.0.RELEASE]
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978) [spring-webmvc-5.0.0.RELEASE.jar:5.0.0.RELEASE]
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:870) [spring-webmvc-5.0.0.RELEASE.jar:5.0.0.RELEASE]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) [servlet-api.jar:?]
    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:855) [spring-webmvc-5.0.0.RELEASE.jar:5.0.0.RELEASE]
    at com.scalix.api.PlatformDispatcherServlet.service(PlatformDispatcherServlet.java:48) [scalix-api.jar:1.0]
    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.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.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]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.23]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.23]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [catalina.jar:8.5.23]
    at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206) [catalina.jar:8.5.23]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.23]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.23]
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) [tomcat-coyote.jar:8.5.23]
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.23]
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.23]
    at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1693) [tomcat-coyote.jar:8.5.23]
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.23]
    at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:946) [tomcat-coyote.jar:8.5.23]
    at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:626) [tomcat-coyote.jar:8.5.23]
    at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:604) [tomcat-coyote.jar:8.5.23]
    at sun.nio.ch.Invoker.invokeUnchecked(Unknown Source) [?:1.8.0_144]
    at sun.nio.ch.Invoker$2.run(Unknown Source) [?:1.8.0_144]
    at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(Unknown Source) [?:1.8.0_144]
    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]
Caused by: java.lang.NullPointerException
    at com.scalix.api.imap.Imap.populateFirstMatchingPartData(Imap.java:1253) ~[scalix-api.jar:1.0]
    at com.scalix.api.imap.Imap.populateScalixDavBody(Imap.java:852) ~[scalix-api.jar:1.0]
    at com.scalix.api.mailbox.ImapDataCache.ensureScalixDavBodyPopulated(ImapDataCache.java:419) ~[scalix-api.jar:1.0]
    ... 45 more
2018-02-27 15:23:15.861 [FATAL] [http-nio2-8080-exec-11] [ImapDataCache.ensureScalixDavBodyPopulated:416] Could not fetch scalix dav body data for 003a11d720e7a6cf
2018-02-27 15:23:15.861 [WARN ] [http-nio2-8080-exec-11] [RestServlet.sendError:28] Sending error
com.scalix.api.service.ServiceException: Could not fetch scalix dav body data
    at com.scalix.api.mailbox.ImapDataCache.ensureScalixDavBodyPopulated(ImapDataCache.java:440) ~[scalix-api.jar:1.0]
    at com.scalix.api.mailbox.ImapDataCache.getMessages(ImapDataCache.java:388) ~[scalix-api.jar:1.0]
    at com.scalix.api.mailbox.Mailbox.getMessages(Mailbox.java:348) ~[scalix-api.jar:1.0]
    at com.scalix.api.mailbox.SyncService.proccessMessageRefs(SyncService.java:184) ~[scalix-api.jar:1.0]
    at com.scalix.api.mailbox.SyncService.getMessageChanges(SyncService.java:168) ~[scalix-api.jar:1.0]
    at com.scalix.api.rest.SyncServlet.doGet(SyncServlet.java:122) [scalix-api.jar:1.0]

<pre>

History

#1

Updated by Alexey Bobyr over 1 year ago

  • Status changed from New to Resolved
  • Target version changed from 12.7 to 12.7.1

Also available in: Atom PDF