incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <>
Subject [jira] Assigned: (ADFFACES-21) Mis-ordering of statics un UIComponentUINode defeats logging/stacktraces
Date Thu, 15 Jun 2006 20:28:30 GMT
     [ ]

Matthias Weßendorf reassigned ADFFACES-21:

    Assign To: Matthias Weßendorf

> Mis-ordering of statics un UIComponentUINode defeats logging/stacktraces
> ------------------------------------------------------------------------
>          Key: ADFFACES-21
>          URL:
>      Project: MyFaces ADF-Faces
>         Type: Bug

>     Reporter: Ryan Williams
>     Assignee: Matthias Weßendorf
>     Priority: Minor
>  Attachments: static_ordering.patch
> In UIComponentUINode, the method _loadRenderertypeToLocalnameMap() uses a static AdfLogger
instance when it encounters certain failure conditions (such as a malformatted .properties
file).  Unfortunately, due to the ordering of the statics, the logger isn't instantiated yet
at the time of the call.   So, instead of safely logging the message and possibly continuing,
the application instead crashes with some of the weirdest errors known to man.
> The solution is simple: move the logger declaration/instantiation up above the method
that uses it.  I'll attach a patch that does this.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message