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 "Hoss Man (JIRA)" <ji...@apache.org> on 2009/11/14 02:11:39 UTC

[jira] Commented: (SOLR-1563) NPE's occur in various situations related to FIeldable.stringValue when upgrading from 1.3 to 1.4

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

Hoss Man commented on SOLR-1563:
--------------------------------


First anecdotal NPE stack trace reported by Jake Brownell when using LukeRequestHandler to look at a specific document id when using 1.4.  No details about schema provided../

{noformat}
/admin/luke?id=1

1. java.lang.NullPointerException
2.         at org.apache.lucene.index.TermBuffer.set(TermBuffer.java:95)
3.         at org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:158)
4.         at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:232)
5.         at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:179)
6.         at org.apache.lucene.index.SegmentReader.docFreq(SegmentReader.java:975)
7.         at org.apache.lucene.index.DirectoryReader.docFreq(DirectoryReader.java:627)
8.         at org.apache.solr.search.SolrIndexReader.docFreq(SolrIndexReader.java:308)
9.         at org.apache.solr.handler.admin.LukeRequestHandler.getDocumentFieldsInfo(LukeRequestHandler.java:248)
10.        at org.apache.solr.handler.admin.LukeRequestHandler.handleRequestBody(LukeRequestHandler.java:124)
11.        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
12.        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
{noformat}

> NPE's occur in various situations related to FIeldable.stringValue when upgrading from 1.3 to 1.4
> -------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1563
>                 URL: https://issues.apache.org/jira/browse/SOLR-1563
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Hoss Man
>            Priority: Critical
>
> Multiple reports of NPEs when using Solr 1.4 - so far these all seem to relate to getting a null returned by Fieldable.stringValue when it isn't expected or accounted for.  Thread where this was initially discussed...
> http://old.nabble.com/NPE-when-trying-to-view-a-specific-document-via-Luke-to26330237.html

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