Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1371

LukeRequestHandler/schema.jsp errors if schema has no uniqueKey field

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: Admin UI
    • Labels:
      None

      Description

      if a schema doesn't have a uniqueKey field specified, teh schema explorer won't work, and logs this exception...

      SEVERE: java.lang.NullPointerException
              at org.apache.solr.handler.admin.LukeRequestHandler.getSchemaInfo(LukeRequestHandler.java:373)
              at org.apache.solr.handler.admin.LukeRequestHandler.handleRequestBody(LukeRequestHandler.java:133)
              at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
              at org.apache.solr.core.SolrCore.execute(SolrCore.java:1299)
              at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
              at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
              at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
      

        Attachments

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              hossman Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: