You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Adam Winer (JIRA)" <ad...@incubator.apache.org> on 2007/05/10 18:15:15 UTC

[jira] Resolved: (ADFFACES-488) TrinidadLogger.warning(Throwable) NPEs if t.getMessage() is null

     [ https://issues.apache.org/jira/browse/ADFFACES-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer resolved ADFFACES-488.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1-incubating-core-SNAPSHOT
                   2.0.0-incubating-core-SNAPSHOT

Fixed on trunk and latest 1.2 branch.

> 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
>             Fix For: 2.0.0-incubating-core-SNAPSHOT, 1.0.1-incubating-core-SNAPSHOT
>
>
> 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.