lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asmodean (JIRA)" <>
Subject [jira] Commented: (SOLR-1529) NullPointerException in when deleting by query *only*
Date Thu, 29 Oct 2009 10:12:59 GMT


Asmodean commented on SOLR-1529:

Just to clarify from our point of view:

What our client using the Solr web application see when it processes a request (... containing
more than 8 *byQuery and no *byId) is an exception (we cant differentiate between types of
errors or exceptions, we simply get an exception and have to rollback. It might for example
look like the following sample code:


try {
  while (hasMoreDeletesToProcessFromOurApplication) {
    if (requestBatchMaxSizeReached) {


} catch (Exception e) {
  throw e;

> NullPointerException in when deleting by query *only*
> ------------------------------------------------------------------------------------
>                 Key: SOLR-1529
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Asmodean
>             Fix For: 1.5
>         Attachments: logger.patch
> The problem occurs when a RequestUpdate has deletions that are all *byQuery (as opposed
to *byId). The variable 'deletes' is in this case never initialized and will cause a NullPointerException
in some cases (where the number of deletions are high enough).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message