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

DOMUtils doesn't wrap NumberFormatExceptions with useful errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5, 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      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

          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: