Solr
  1. Solr
  2. SOLR-1635

DOMUtils doesn't wrap NumberFormatExceptions with useful errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Activity

        Hide
        Hoss Man added a comment -

        Patch for fix and added some much needed javadocs.

        works nicely in the example, just waiting for tests to finish before i commit

        Show
        Hoss Man added a comment - Patch for fix and added some much needed javadocs. works nicely in the example, just waiting for tests to finish before i commit
        Hide
        Hoss Man added a comment -

        Committed revision 888622.

        Show
        Hoss Man added a comment - Committed revision 888622.
        Hide
        Hoss Man added a comment -

        Correcting Fix Version based on CHANGES.txt, see this thread for more details...

        http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E

        Show
        Hoss Man added a comment - Correcting Fix Version based on CHANGES.txt, see this thread for more details... http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E
        Hide
        Grant Ingersoll added a comment -

        Bulk close for 3.1.0 release

        Show
        Grant Ingersoll added a comment - Bulk close for 3.1.0 release

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development