Random users have a issue during browser on WebUI after zextras migration.

Using Zimbra REST API, the issue does not occur.

Users message received:

"A network service error has occurred.
method: [unknown]
msg: system failure: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
code: service.FAILURE
detail: soap:Receiver
trace: qtp998351292-2873:1520809645865:55ef3815dd1e3487
request:
Body: {
SearchRequest: {
_jsns: "urn:zimbraMail",
cursor: {
id: "7750",
sortVal: "0"
},
header: [
// [0]:
{
n: "List-ID"
},
// [1]:
{
n: "X-Zimbra-DL"
},
// [2]:
{
n: "IN-REPLY-TO"
}
],
limit: 50,
locale: {
_content: "en_US"
},
needExp: 1,
offset: 100,
query: "in:inbox",
recip: "0",
sortBy: "readDesc",
types: "message",
tz: {
id: "America/Sao_Paulo"
}
}
},
Header: {
context: {
_jsns: "urn:zimbra",
account: {
_content: "XXXXX@XXXXXXXXX.com",
by: "name"
},
authToken: "(removed)",
csrfToken: "0_f02371dbda03be9e63feec8e26706821b43ed9ba",
session: {
_content: 1374,
id: 1374
},
userAgent: {
name: "ZimbraWebClient - GC65 (Win)",
version: "8.8.7_GA_1964"
}
}
}"


Log information in mailbox.log:
"2018-03-11 20:09:41,855 WARN [qtp998351292-3059:https:https://mail.dalcoquio.com.br/servic...SearchRequest] [name=ademir-taufenback@dalcoquio.com.br;aname=admin@dalcoquio. com.br;mid=185
;ip=192.168.3.170;port=40144;ua=ZimbraWebClient - GC65 (Win)/8.8.7_GA_1964;soapId=4ad01f7c;] SoapEngine - handler exception
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
at com.zimbra.cs.index.ZimbraHit.compareTo(ZimbraHit. java:225)
at com.zimbra.cs.index.ResultsPager.forwardFindFirst( ResultsPager.java:167)
at com.zimbra.cs.index.ResultsPager.reset(ResultsPage r.java:122)
at com.zimbra.cs.index.ResultsPager.<init>(ResultsPag er.java:101)
at com.zimbra.cs.index.ResultsPager.create(ResultsPag er.java:79)
at com.zimbra.cs.service.mail.Search.putHits(Search.j ava:149)
at com.zimbra.cs.service.mail.Search.handle(Search.ja va:118)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:623)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:476)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:274)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:303)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:213)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:707)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:821)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1685)
at com.zimbra.cs.servlet.CsrfFilter.doFilter(CsrfFilt er.java:169)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.RequestStringFilter.doFilter (RequestStringFilter.java:54)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:59)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ET agHeaderFilter.java:47)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBa lancerFilter.doFilter(ContextPathBasedThreadPoolBa lancerFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(Zim braQoSFilter.java:116)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doF ilter(ZimbraInvalidLoginFilter.java:117)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1668)
at org.eclipse.jetty.servlets.DoSFilter.doFilterChain (DoSFilter.java:473)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSF ilter.java:318)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSF ilter.java:288)
at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1668)
at org.eclipse.jetty.servlet.ServletHandler.doHandle( ServletHandler.java:581)
at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle( SecurityHandler.java:524)
at org.eclipse.jetty.server.session.SessionHandler.do Handle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.do Handle(ContextHandler.java:1158)
at org.eclipse.jetty.servlet.ServletHandler.doScope(S ervletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.do Scope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.do Scope(ContextHandler.java:1090)
at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCol lection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection .handle(HandlerCollection.java:109)
at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:119)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.h andle(RewriteHandler.java:318)
at org.eclipse.jetty.server.handler.gzip.GzipHandler. handle(GzipHandler.java:437)
at org.eclipse.jetty.server.handler.DebugHandler.hand le(DebugHandler.java:84)
at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java :517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpCh annel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable (HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallba ck.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInt erest.java:95)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable( SslConnection.java:192)
at org.eclipse.jetty.io.AbstractConnection$ReadCallba ck.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInt erest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(S electChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProd uceConsume.produceAndRun(ExecuteProduceConsume.jav a:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProd uceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.run Job(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.r un(QueuedThreadPool.java:572)
at java.lang.Thread.run(Thread.java:748)"

Best regards
Gabriel