You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org> on 2013/11/14 23:15:24 UTC

[jira] [Updated] (TRINIDAD-2290) Need to log the exception in each catch block of ResourceServlet._getResourceLoader()

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

Scott O'Bryan updated TRINIDAD-2290:
------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

r1368107 | jwaldman | 2012-08-01 16:38:20 +0000 | 3 lines
Changed paths:
   M /myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/ResourceServlet.java

TRINIDAD-2290 Need to log the exception in each catch block of ResourceServlet._getResourceLoader()
commit version 2 patch. This removes the logging for the catch block (NoSuchMethodException) that is the expected default path. 
thanks to Mark Yvanovich for the patch.


> 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-v2.patch, 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 was sent by Atlassian JIRA
(v6.1#6144)