lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1529) NullPointerException in LogUpdateProcessorFactory.java when deleting by query *only*
Date Wed, 28 Oct 2009 17:19:59 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771004#action_12771004
] 

Yonik Seeley commented on SOLR-1529:
------------------------------------

bq. Does the update succeed in spite of the NPE, or does the entire update fail?

The deletes should still succeed - the logger chains before it does stuff.

bq.  Is this bug new in 1.4, or will it also occur in 1.3 (skimming viewvc for the 1.3 tag
it looks like this bug has been around for a while)

It does indeed look like it's been around since the beginning (7/07)

> NullPointerException in LogUpdateProcessorFactory.java when deleting by query *only*
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-1529
>                 URL: https://issues.apache.org/jira/browse/SOLR-1529
>             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.


Mime
View raw message