Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-212

TrinidadLogger.warning(Throwable) NPEs if t.getMessage() is null

    XMLWordPrintableJSON

Details

    Description

      Now that we use ResourceBundles for our loggers so we can have
      translations, it seems that we can get NPEs if you log a Throwable
      where t.getMessage() returns null, as the underlying java.util.logging.Formatter
      formatMessage() code handles MissingResourceExceptions but not
      NullPointerExceptions when it calls into the ResourceBundle.

      Attachments

        Activity

          People

            adamwiner Adam Winer
            adamwiner Adam Winer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: