You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2018/07/05 21:16:00 UTC

[jira] [Closed] (SOLR-157) IndexInfoRequestHandler NPE

     [ https://issues.apache.org/jira/browse/SOLR-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch closed SOLR-157.
--------------------------------------

> IndexInfoRequestHandler NPE
> ---------------------------
>
>                 Key: SOLR-157
>                 URL: https://issues.apache.org/jira/browse/SOLR-157
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ryan McKinley
>            Assignee: Erik Hatcher
>            Priority: Trivial
>         Attachments: SOLR-157-IndexInfoNPE.patch
>
>
> When you get the index info for an index with fields not in the schema, you get an NPE.  Here is the culprit: 
>  [51]  FieldType fieldType = schema.getFieldTypeNoEx(fieldName);
>  [52]  fieldInfo.put("type", fieldType.getTypeName());



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org