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

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

The following stack trace was generated using Solr 1.4, and the "example" 
configs provided with Solr 1.4.

Steps to reproduce...
# cd example && java -jar start.jar
# cd example/exampledocs && java -jar post.jar  *.xml
# open in browser: http://localhost:8983/solr/select/?q=SP2514N (this works 
fine)
# open in browser: http://localhost:8983/solr/admin/luke?id=SP2514N (this fails 
with stack trace below)

{noformat}
java.lang.NullPointerException
        at org.apache.lucene.index.TermBuffer.set(TermBuffer.java:95)
        at 
org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:158)
        at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:232)
        at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:179)
        at org.apache.lucene.index.SegmentReader.docFreq(SegmentReader.java:975)
        at 
org.apache.lucene.index.DirectoryReader.docFreq(DirectoryReader.java:627)
        at 
org.apache.solr.search.SolrIndexReader.docFreq(SolrIndexReader.java:308)
        at 
org.apache.solr.handler.admin.LukeRequestHandler.getDocumentFieldsInfo(LukeRequestHandler.java:248)
        at 
org.apache.solr.handler.admin.LukeRequestHandler.handleRequestBody(LukeRequestHandler.java:124)
        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
        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.

Reply via email to