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

DOMUtils doesn't wrap NumberFormatExceptions with useful errors

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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 Chris M. Hostetter
              Reporter:
              hossman Chris M. Hostetter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment