ICEfaces
  1. ICEfaces
  2. ICE-1679

ParserUtils.java is hiding a useful error message contained within the SAXException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#5
    • Fix Version/s: 1.6.2, 1.7DR#1, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP / Tomcat 5.5.17

      Description

      Recommend changing line 107 from this:
                          (Localizer.getMessage("jsp.error.parse.xml", uri), sx);

      To this:
                          (Localizer.getMessage("jsp.error.parse.xml", uri) + " - SAXException: " + sx.getMessage(), sx);

      Because when a ParseException occurs within the ParserUtils.parseXMLDocument() method, the sx.getMessage() can be very helpful in understanding what caused the exception to be thrown. As the code stands now, the message is ignored.


      Neil

        Activity

        Neil Griffin created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 1.7DR#1 [ 10100 ]
        Assignee Ted Goddard [ ted.goddard ]
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.6.2 [ 10111 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ted Goddard made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Priority Major [ 3 ] Minor [ 4 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Ted Goddard [ ted.goddard ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: