You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2009/06/18 11:00:07 UTC

[jira] Created: (SOLR-1228) NPE thown if a deletedPkQuery returns a row w/o the key

NPE thown if a deletedPkQuery returns a row w/o the key
-------------------------------------------------------

                 Key: SOLR-1228
                 URL: https://issues.apache.org/jira/browse/SOLR-1228
             Project: Solr
          Issue Type: Bug
            Reporter: Noble Paul
            Assignee: Noble Paul
            Priority: Minor
             Fix For: 1.4
         Attachments: SOLR-1228.patch

see the mail thread
http://markmail.org/thread/3grabel3a6qaqk4e

SEVERE: Delta Import Failed
java.lang.NullPointerException
       at org.apache.solr.handler.dataimport.SolrWriter.deleteDoc(SolrWriter.java:83)
       at org.apache.solr.handler.dataimport.DocBuilder.deleteAll(DocBuilder.java:275)
       at org.apache.solr.handler.dataimport.DocBuilder.doDelta(DocBuilder.java:247)
       at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:159)
       at org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:337)


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


[jira] Resolved: (SOLR-1228) NPE thown if a deletedPkQuery returns a row w/o the key

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher resolved SOLR-1228.
--------------------------------

    Resolution: Fixed

Oops, must have not recompiled the update properly... NPE now resolved. 

A new issue will be opened to track the pk/uniqueKey discrepancy issue.

> NPE thown if a deletedPkQuery returns a row w/o the key
> -------------------------------------------------------
>
>                 Key: SOLR-1228
>                 URL: https://issues.apache.org/jira/browse/SOLR-1228
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1228.patch
>
>
> see the mail thread
> http://markmail.org/thread/3grabel3a6qaqk4e
> SEVERE: Delta Import Failed
> java.lang.NullPointerException
>        at org.apache.solr.handler.dataimport.SolrWriter.deleteDoc(SolrWriter.java:83)
>        at org.apache.solr.handler.dataimport.DocBuilder.deleteAll(DocBuilder.java:275)
>        at org.apache.solr.handler.dataimport.DocBuilder.doDelta(DocBuilder.java:247)
>        at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:159)
>        at org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:337)

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


[jira] Reopened: (SOLR-1228) NPE thown if a deletedPkQuery returns a row w/o the key

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher reopened SOLR-1228:
--------------------------------


This patch didn't fix the issue, unfortunately.   This is part of a bigger issue of DIH assuming the pk value is the same as the uniqueKey field value.

> NPE thown if a deletedPkQuery returns a row w/o the key
> -------------------------------------------------------
>
>                 Key: SOLR-1228
>                 URL: https://issues.apache.org/jira/browse/SOLR-1228
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1228.patch
>
>
> see the mail thread
> http://markmail.org/thread/3grabel3a6qaqk4e
> SEVERE: Delta Import Failed
> java.lang.NullPointerException
>        at org.apache.solr.handler.dataimport.SolrWriter.deleteDoc(SolrWriter.java:83)
>        at org.apache.solr.handler.dataimport.DocBuilder.deleteAll(DocBuilder.java:275)
>        at org.apache.solr.handler.dataimport.DocBuilder.doDelta(DocBuilder.java:247)
>        at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:159)
>        at org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:337)

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


[jira] Updated: (SOLR-1228) NPE thown if a deletedPkQuery returns a row w/o the key

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher updated SOLR-1228:
-------------------------------

    Comment: was deleted

(was: This patch didn't fix the issue, unfortunately.   This is part of a bigger issue of DIH assuming the pk value is the same as the uniqueKey field value.)

> NPE thown if a deletedPkQuery returns a row w/o the key
> -------------------------------------------------------
>
>                 Key: SOLR-1228
>                 URL: https://issues.apache.org/jira/browse/SOLR-1228
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1228.patch
>
>
> see the mail thread
> http://markmail.org/thread/3grabel3a6qaqk4e
> SEVERE: Delta Import Failed
> java.lang.NullPointerException
>        at org.apache.solr.handler.dataimport.SolrWriter.deleteDoc(SolrWriter.java:83)
>        at org.apache.solr.handler.dataimport.DocBuilder.deleteAll(DocBuilder.java:275)
>        at org.apache.solr.handler.dataimport.DocBuilder.doDelta(DocBuilder.java:247)
>        at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:159)
>        at org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:337)

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


[jira] Updated: (SOLR-1228) NPE thown if a deletedPkQuery returns a row w/o the key

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul updated SOLR-1228:
-----------------------------

    Component/s: contrib - DataImportHandler

> NPE thown if a deletedPkQuery returns a row w/o the key
> -------------------------------------------------------
>
>                 Key: SOLR-1228
>                 URL: https://issues.apache.org/jira/browse/SOLR-1228
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1228.patch
>
>
> see the mail thread
> http://markmail.org/thread/3grabel3a6qaqk4e
> SEVERE: Delta Import Failed
> java.lang.NullPointerException
>        at org.apache.solr.handler.dataimport.SolrWriter.deleteDoc(SolrWriter.java:83)
>        at org.apache.solr.handler.dataimport.DocBuilder.deleteAll(DocBuilder.java:275)
>        at org.apache.solr.handler.dataimport.DocBuilder.doDelta(DocBuilder.java:247)
>        at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:159)
>        at org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:337)

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


[jira] Updated: (SOLR-1228) NPE thown if a deletedPkQuery returns a row w/o the key

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul updated SOLR-1228:
-----------------------------

    Attachment: SOLR-1228.patch

> NPE thown if a deletedPkQuery returns a row w/o the key
> -------------------------------------------------------
>
>                 Key: SOLR-1228
>                 URL: https://issues.apache.org/jira/browse/SOLR-1228
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1228.patch
>
>
> see the mail thread
> http://markmail.org/thread/3grabel3a6qaqk4e
> SEVERE: Delta Import Failed
> java.lang.NullPointerException
>        at org.apache.solr.handler.dataimport.SolrWriter.deleteDoc(SolrWriter.java:83)
>        at org.apache.solr.handler.dataimport.DocBuilder.deleteAll(DocBuilder.java:275)
>        at org.apache.solr.handler.dataimport.DocBuilder.doDelta(DocBuilder.java:247)
>        at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:159)
>        at org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:337)

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


[jira] Resolved: (SOLR-1228) NPE thown if a deletedPkQuery returns a row w/o the key

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul resolved SOLR-1228.
------------------------------

    Resolution: Fixed

committed r785965

> NPE thown if a deletedPkQuery returns a row w/o the key
> -------------------------------------------------------
>
>                 Key: SOLR-1228
>                 URL: https://issues.apache.org/jira/browse/SOLR-1228
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1228.patch
>
>
> see the mail thread
> http://markmail.org/thread/3grabel3a6qaqk4e
> SEVERE: Delta Import Failed
> java.lang.NullPointerException
>        at org.apache.solr.handler.dataimport.SolrWriter.deleteDoc(SolrWriter.java:83)
>        at org.apache.solr.handler.dataimport.DocBuilder.deleteAll(DocBuilder.java:275)
>        at org.apache.solr.handler.dataimport.DocBuilder.doDelta(DocBuilder.java:247)
>        at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:159)
>        at org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:337)

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