The new biggest source of log errors as at 28/05/09 is com.atlassian.confluence.util.i18n.DefaultI18NBean's getText(String key, Object[] args) method:

      230 ERROR [confluence.util.i18n.I18NBean.getText] Error formatting internationalized string with key: 
          This is the {gliffy} macro which converts Gliffy Attachments to images you can see on a page
      230 ERROR [confluence.util.i18n.I18NBean.getText] Error formatting internationalized string with key: 
          Required. The {mockup} macro displays the ui mockup in the page.
      

      The URL for these errors is /plugins/macrobrowser/browse-macros.action so it looks like a problem with the Jsonation of the macro's description Message object. Namely, that getText(Message message) in DefaultI18NBean delegates to getText(String key, Object[] args) with the message arguments which calls java.text.MessageFormat.format(result, args) even if the args == null. As the message text contains a placeholder

      {glffy}

      or

      {mockup}

      an IllegalArgumentException is thrown.

      Couldn't the MessageFormat.format call be skipped if the Message args are null or an empty array? Even if the message text could be parsed by MessageFormat the placeholder substitutions wouldn't do anything.

            [CONFSERVER-15946] I18NBean getText method spamming EAC logs

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2893628 ] New: CONFSERVER Bug Workflow v4 [ 2985679 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2774580 ] New: JAC Bug Workflow v3 [ 2893628 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2734407 ] New: JAC Bug Workflow v2 [ 2774580 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2399816 ] New: JAC Bug Workflow [ 2734407 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2298826 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2399816 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2233517 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2298826 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2194908 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2233517 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1926352 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2194908 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1728097 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1926352 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1684388 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1728097 ]

              mjensen m@ (Inactive)
              dtaylor David Taylor (Inactive)
              Affected customers:
              35 This affects my team
              Watchers:
              30 Start watching this issue

                Created:
                Updated:
                Resolved: