incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Created: (ADFFACES-488) TrinidadLogger.warning(Throwable) NPEs if t.getMessage() is null
Date Thu, 10 May 2007 18:07:15 GMT
TrinidadLogger.warning(Throwable) NPEs if t.getMessage() is null
----------------------------------------------------------------

                 Key: ADFFACES-488
                 URL: https://issues.apache.org/jira/browse/ADFFACES-488
             Project: MyFaces ADF-Faces
          Issue Type: Bug
    Affects Versions: 2.0.0-incubating-core-SNAPSHOT, 1.0.1-incubating-core-SNAPSHOT
            Reporter: Adam Winer
         Assigned To: Adam Winer


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message