You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "quurks (JIRA)" <ji...@apache.org> on 2012/05/08 23:51:50 UTC

[jira] [Created] (TAP5-1927) PeriodicExecutor drops exceptions without any notice.

quurks created TAP5-1927:
----------------------------

             Summary: PeriodicExecutor drops exceptions without any notice.
                 Key: TAP5-1927
                 URL: https://issues.apache.org/jira/browse/TAP5-1927
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-ioc
    Affects Versions: 5.3
            Reporter: quurks


PeriodicExecutorImpl:176-185
try
            {
                runnableJob.run();
            } finally
            {
                cleanupAfterExecution();
            }

That means every occuring exception is simply skipped. It would be nice if it was logged.

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

        

[jira] [Closed] (TAP5-1927) PeriodicExecutor drops exceptions without any notice.

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1927.
--------------------------------------

    Resolution: Invalid
      Assignee: Howard M. Lewis Ship

Runnable.run() throws no checked exception.

It is the user's code responsibility to handle/log/retry and checked or runtime exceptions.  Anything Tapestry did here (with RuntimeExceptions) would be incorrect for some people, which is why it is the client's code responsibility.
                
> PeriodicExecutor drops exceptions without any notice.
> -----------------------------------------------------
>
>                 Key: TAP5-1927
>                 URL: https://issues.apache.org/jira/browse/TAP5-1927
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.3
>            Reporter: quurks
>            Assignee: Howard M. Lewis Ship
>
> PeriodicExecutorImpl:176-185
> try
>             {
>                 runnableJob.run();
>             } finally
>             {
>                 cleanupAfterExecution();
>             }
> That means every occuring exception is simply skipped. It would be nice if it was logged.

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

        

[jira] [Commented] (TAP5-1927) PeriodicExecutor drops exceptions without any notice.

Posted by "quurks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271296#comment-13271296 ] 

quurks commented on TAP5-1927:
------------------------------

I understand why the exception is caught. But a log entry would be nice. Maybe only a trace.
                
> PeriodicExecutor drops exceptions without any notice.
> -----------------------------------------------------
>
>                 Key: TAP5-1927
>                 URL: https://issues.apache.org/jira/browse/TAP5-1927
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.3
>            Reporter: quurks
>            Assignee: Howard M. Lewis Ship
>
> PeriodicExecutorImpl:176-185
> try
>             {
>                 runnableJob.run();
>             } finally
>             {
>                 cleanupAfterExecution();
>             }
> That means every occuring exception is simply skipped. It would be nice if it was logged.

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

        

[jira] [Commented] (TAP5-1927) PeriodicExecutor drops exceptions without any notice.

Posted by "quurks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271296#comment-13271296 ] 

quurks commented on TAP5-1927:
------------------------------

I understand why the exception is caught. But a log entry would be nice. Maybe only a trace.
                
> PeriodicExecutor drops exceptions without any notice.
> -----------------------------------------------------
>
>                 Key: TAP5-1927
>                 URL: https://issues.apache.org/jira/browse/TAP5-1927
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.3
>            Reporter: quurks
>            Assignee: Howard M. Lewis Ship
>
> PeriodicExecutorImpl:176-185
> try
>             {
>                 runnableJob.run();
>             } finally
>             {
>                 cleanupAfterExecution();
>             }
> That means every occuring exception is simply skipped. It would be nice if it was logged.

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

        

[jira] [Closed] (TAP5-1927) PeriodicExecutor drops exceptions without any notice.

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1927.
--------------------------------------

    Resolution: Invalid
      Assignee: Howard M. Lewis Ship

Runnable.run() throws no checked exception.

It is the user's code responsibility to handle/log/retry and checked or runtime exceptions.  Anything Tapestry did here (with RuntimeExceptions) would be incorrect for some people, which is why it is the client's code responsibility.
                
> PeriodicExecutor drops exceptions without any notice.
> -----------------------------------------------------
>
>                 Key: TAP5-1927
>                 URL: https://issues.apache.org/jira/browse/TAP5-1927
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.3
>            Reporter: quurks
>            Assignee: Howard M. Lewis Ship
>
> PeriodicExecutorImpl:176-185
> try
>             {
>                 runnableJob.run();
>             } finally
>             {
>                 cleanupAfterExecution();
>             }
> That means every occuring exception is simply skipped. It would be nice if it was logged.

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