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] Resolved: (ADFFACES-488) TrinidadLogger.warning(Throwable) NPEs if t.getMessage() is null
Date Thu, 10 May 2007 18:15:15 GMT

     [ 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.


Mime
View raw message