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

XML parsing error with resin-3.0.21

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2
    • 1.2
    • None
    • None
    • running resin-3.0.21

    Description

      When the resin XML parser starts, it gets the following error trying to parse the config file:

      [00:25:35.025] Caused by: java.lang.NumberFormatException: empty String
      [00:25:35.025] at
      sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994)
      [00:25:35.025] at java.lang.Float.parseFloat(Float.java:394)
      [00:25:35.025] at org.apache.solr.core.Config.getFloat(Config.java:174)
      [00:25:35.025] at
      org.apache.solr.schema.IndexSchema.readConfig(IndexSchema.java:273)

      see: http://www.mail-archive.com/solr-dev@lucene.apache.org/msg01852.html

      Attachments

        1. resinXmlParser.patch
          0.8 kB
          Ryan McKinley

        Activity

          People

            hossman Chris M. Hostetter
            ryantxu Ryan McKinley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: