Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14194

Misprint in format string of MessageFormat.format in ResourceServletContainerInitializer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.5.10
    • Fix Version/s: 4.5.11
    • Component/s: core
    • Labels:
      None
    • Estimated Difficulty:
      Low

      Description

      The exception "java.lang.IllegalArgumentException: Unmatched braces in the pattern." is thrown from ResourceServletContainerInitializer.onStartup due to misprint in format string in case when exception is caught.

      catch (Exception e) {
                  servletContext.log(MessageFormat.format("Exception registering RichFaces Resource Servlet: {0]", e.getMessage()), e);
      }
      

      Here's the patch
      https://github.com/LebedkoDmitry/richfaces/commit/cbc5899568a1daf72b0f4752fd70887eed3e3e72

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                dmitry_lebedko Dmitry Lebedko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: