Sometimes it happens when a user is creating a new mail and uses auto completion that the user don't get all results. The user gets no error message but in the log you can see this:

Code:
2010-03-30 15:59:33,164 WARN  [btpool0-37556://zimbra.[customer].de/service/soap/AutoCompleteRequest] [name=ksimon@[customer].de;aname=admin@zimbra.[customer].de;m
id=155;ip=212.8.197.50;ua=ZimbraWebClient - FF3.0 (Linux)/6.0.5_GA_2213.UBUNTU8_64;] gal - search on GalSync account failed for c5d0bd45-f252-472f-b15a-bd3940d4d4bc
com.zimbra.cs.index.queryparser.ParseException: Encountered "AND" at line 1, column 17.
Was expecting one of:
    <NOT_TOKEN> ...
    "(" ...
    "+" ...
    "-" ...
    <QUOTED_TOK> ...
    <TEXT_TOK> ...
    "content:" ...
    "subject:" ...
    "msgid:" ...
    "envto:" ...
    "envfrom:" ...
    "contact:" ...
    "to:" ...
    "from:" ...
    "cc:" ...
    "tofrom:" ...
    "tocc:" ...
    "fromcc:" ...
    "tofromcc:" ...
    "in:" ...
    "under:" ...
    "inid:" ...
    "underid:" ...
    "has:" ...
    "filename:" ...
    "type:" ...
    "attachment:" ...
    "is:" ...
    "date:" ...
    "day:" ...
    "week:" ...
    "month:" ...
    "year:" ...
    "after:" ...
    "before:" ...
    "size:" ...
    <BIGGER> ...
    "smaller:" ...
    "tag:" ...
    "message:" ...
    "my:" ...
    "modseq:" ...
    "conv:" ...
    "conv-count:" ...
    "conv-minm:" ...
    "conv-maxm:" ...
    "conv-start:" ...
    "conv-end:" ...
    "appt-start:" ...
    "appt-end:" ...
    "author:" ...
    "title:" ...
    "keywords:" ...
    "company:" ...
    "metadata:" ...
    "item:" ...
    <FIELD> ...
    
        at com.zimbra.cs.index.queryparser.ZimbraQueryParser.generateParseException(ZimbraQueryParser.java:1324)
        at com.zimbra.cs.index.queryparser.ZimbraQueryParser.jj_consume_token(ZimbraQueryParser.java:1257)
        at com.zimbra.cs.index.queryparser.ZimbraQueryParser.Clause(ZimbraQueryParser.java:1042)
        at com.zimbra.cs.index.queryparser.ZimbraQueryParser.Query(ZimbraQueryParser.java:1128)
        at com.zimbra.cs.index.queryparser.ZimbraQueryParser.DoParse(ZimbraQueryParser.java:1139)
        at com.zimbra.cs.index.queryparser.ZimbraQueryParser.Parse(ZimbraQueryParser.java:308)
        at com.zimbra.cs.index.ZimbraQuery.<init>(ZimbraQuery.java:2422)
        at com.zimbra.cs.index.MailboxIndex.search(MailboxIndex.java:154)
        at com.zimbra.cs.mailbox.IndexHelper.search(IndexHelper.java:117)
        at com.zimbra.cs.mailbox.Mailbox.search(Mailbox.java:3450)
        at com.zimbra.cs.gal.GalSearchControl.doLocalGalAccountSearch(GalSearchControl.java:239)
        at com.zimbra.cs.gal.GalSearchControl.accountSearch(GalSearchControl.java:212)
        at com.zimbra.cs.gal.GalSearchControl.autocomplete(GalSearchControl.java:77)
        at com.zimbra.cs.mailbox.ContactAutoComplete.queryGal(ContactAutoComplete.java:254)
        at com.zimbra.cs.mailbox.ContactAutoComplete.query(ContactAutoComplete.java:225)
        at com.zimbra.cs.service.mail.AutoComplete.query(AutoComplete.java:75)
        at com.zimbra.cs.service.mail.AutoComplete.handle(AutoComplete.java:44)
        at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:419)
        at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:273)
        at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:157)
        at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:291)
        at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:212)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:181)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
        at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:79)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
        at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.handler.DebugHandler.handle(DebugHandler.java:77)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:543)
        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
c5d0bd45-f252-472f-b15a-bd3940d4d4bc is the ZimbraId of the gal-sync Account

When this happend the user won't see the right results until he re-login or flushes the cache.

I could reconstruct this behaviour. For example when I type a single 's' and wait for auto completion this error often occurs. Then it wouldn't show me users like "Schmidt, Melanie". But when I relogin and type a little faster 'sch' it shows me the expected results.

Any ideas?


Release 6.0.5_GA_2213.UBUNTU8_64 UBUNTU8_64 NETWORK edition