<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>in the latest weeks i'm working on the Solr integration and immediately i've faced the assertion failure errors, on 2.0.19, 2.2.9 and 2.3.11.3 servers in our network.</div><div>Reading the thread on debian ML, I realize this issue is related to nested MIME and it affects large mailboxes</div><div><br></div><div>In my case, the error in dovecot.log pairs with the following on solr.log and it seems the rows value has the same value of the last UID recorded in the mailbox. </div><div><br></div><div>For your reference, here is the Solr logs, where <b>2276996170</b> is the value passed by Dovecot as rows number and it clearly don't fit with the rows data type.</div><div><br></div><div>Have you had experienced the same behaviour? Is there a workaround?</div><div>Thanks</div><div>Antonino</div><div><br></div><div><br></div><div><div>2020-12-30 12:07:33.897 ERROR (qtp1162918744-918) [   x:qadisha] o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: For input string: "2276996170"</div><div><span style="white-space:pre">   </span>at org.apache.solr.common.params.SolrParams.getInt(SolrParams.java:236)</div><div><span style="white-space:pre">       </span>at org.apache.solr.search.QParser.getSortSpec(QParser.java:274)</div><div><span style="white-space:pre">       </span>at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:189)</div><div><span style="white-space:pre">  </span>at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:337)</div><div><span style="white-space:pre">  </span>at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:214)</div><div><span style="white-space:pre">      </span>at org.apache.solr.core.SolrCore.execute(SolrCore.java:2627)</div><div><span style="white-space:pre">  </span>at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:795)</div><div><span style="white-space:pre">        </span>at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:568)</div><div><span style="white-space:pre">   </span>at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:415)</div><div><span style="white-space:pre">   </span>at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:345)</div><div><span style="white-space:pre">   </span>at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1596)</div><div><span style="white-space:pre">    </span>at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)</div><div><span style="white-space:pre"> </span>at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)</div><div><span style="white-space:pre">      </span>at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:590)</div><div><span style="white-space:pre">        </span>at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)</div><div><span style="white-space:pre">    </span>at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)</div><div><span style="white-space:pre">  </span>at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)</div><div><span style="white-space:pre"> </span>at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)</div><div><span style="white-space:pre">  </span>at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300)</div><div><span style="white-space:pre"> </span>at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)</div><div><span style="white-space:pre">   </span>at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)</div><div><span style="white-space:pre">  </span>at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)</div><div><span style="white-space:pre">  </span>at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)</div><div><span style="white-space:pre">   </span>at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215)</div><div><span style="white-space:pre">  </span>at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)</div><div><span style="white-space:pre">      </span>at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:221)</div><div><span style="white-space:pre">        </span>at org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:177)</div><div><span style="white-space:pre">      </span>at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)</div><div><span style="white-space:pre">      </span>at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)</div><div><span style="white-space:pre">    </span>at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)</div><div><span style="white-space:pre">   </span>at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)</div><div><span style="white-space:pre">    </span>at org.eclipse.jetty.server.Server.handle(Server.java:500)</div><div><span style="white-space:pre">    </span>at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)</div><div><span style="white-space:pre"> </span>at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)</div><div><span style="white-space:pre">        </span>at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)</div><div><span style="white-space:pre">  </span>at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)</div><div><span style="white-space:pre">        </span>at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)</div><div><span style="white-space:pre">        </span>at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)</div><div><span style="white-space:pre">  </span>at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)</div><div><span style="white-space:pre">       </span>at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)</div><div><span style="white-space:pre">     </span>at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)</div><div><span style="white-space:pre">   </span>at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)</div><div><span style="white-space:pre">  </span>at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)</div><div><span style="white-space:pre"> </span>at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)</div><div><span style="white-space:pre">   </span>at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)</div><div><span style="white-space:pre">   </span>at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)</div><div><span style="white-space:pre">       </span>at java.lang.Thread.run(Thread.java:748)</div><div>Caused by: java.lang.NumberFormatException: For input string: "2276996170"</div><div><span style="white-space:pre">   </span>at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)</div><div><span style="white-space:pre">      </span>at java.lang.Integer.parseInt(Integer.java:583)</div><div><span style="white-space:pre">       </span>at java.lang.Integer.valueOf(Integer.java:766)</div><div><span style="white-space:pre">        </span>at org.apache.solr.common.params.SolrParams.getInt(SolrParams.java:233)</div><div><span style="white-space:pre">       </span>... 46 more</div></div><div><br></div><div><br></div><div><div>2020-12-30 12:07:33.897 INFO  (qtp1162918744-918) [   x:qadisha] o.a.s.c.S.Request [qadisha]  webapp=/solr path=/select params={q={!lucene+q.op%3DAND}from:mykeyword+OR+to:mykeyword+OR+subject:mykeyword&fl=uid,score&sort=uid+asc&fq=%<a href="mailto:2Bbox%3A6d2c381de797e95fbb160000c46e3ae7%2B%252Buser%3Ainfo@qadisha.it">2Bbox:6d2c381de797e95fbb160000c46e3ae7+%2Buser:info@qadisha.it</a>&rows=2276996170&wt=xml} status=400 QTime=1</div></div><div><br></div></div></div></div></div></div></div></div></div></div></div>