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

DataImportHandler's Entity must have a name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Environment:

      r1341454,

      java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar

      Description

      Using trunk and trying to start the example-DIH version, throws the following Exception:

      May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
      SEVERE: null:org.apache.solr.common.SolrException
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
        [...]
      Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
        at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
        at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
        at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
        at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
        ... 49 more

        Attachments

        1. SOLR-3478.patch
          0.7 kB
          Stefan Matheis (steffkes)

          Activity

            People

            • Assignee:
              steffkes Stefan Matheis (steffkes)
              Reporter:
              steffkes Stefan Matheis (steffkes)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: