[ 
https://issues.apache.org/jira/browse/TRINIDAD-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425939#comment-13425939
 ] 

Mark Yvanovich commented on TRINIDAD-2290:
------------------------------------------

The NoSuchMethodException catch block is an expected code path, so we shouldn't 
be logging an exception in that catch block.
                
> Need to log the exception in each catch block of 
> ResourceServlet._getResourceLoader()
> -------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2290
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2290
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions:  1.2.12-core, 2.0.0-core
>            Reporter: Mark Yvanovich
>            Assignee: Jeanne Waldman
>             Fix For: 2.1.0-core
>
>         Attachments: jira2290-trunk.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> We are currently silently ignoring the exceptions that occur when looking up 
> the class loaders in ResourceServlet_getResourceLoader().  We need to log the 
> exception and also log the cause if there is one so that we get a good stack 
> trace of the actual source of the exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to