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

DOMUtils doesn't wrap NumberFormatExceptions with useful errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5, 3.1, 4.0-ALPHA
    • None
    • None

    Description

      When parsing NamedList style XML, DOMUtils does a really crappy job of reporting errors when it can't parse numeric types (ie: <int>, <float>, etc...)

      http://old.nabble.com/java.lang.NumberFormatException%3A-For-input-string%3A-%22%22-to26631247.html

      Attachments

        1. SOLR-1635.patch
          3 kB
          Chris M. Hostetter

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: