[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3536) Start time cannot be null

Bernard Labno (JIRA) jira-events at lists.jboss.org
Thu Oct 9 05:18:20 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernard Labno updated JBSEAM-3536:
----------------------------------

    Attachment: QuartzDispatcher.java.patch


My patch for this issue.

> Start time cannot be null
> -------------------------
>
>                 Key: JBSEAM-3536
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3536
>             Project: Seam
>          Issue Type: Bug
>          Components: Async
>    Affects Versions: 2.1.0.CR1
>         Environment: linux, jboss as 4.2.2.GA
>            Reporter: Bernard Labno
>         Attachments: QuartzDispatcher.java.patch
>
>
> Method with such signature :
>     @Asynchronous
>     public void start(@IntervalDuration java.lang.Long interval);
> Triggers :
> Caused by: java.lang.IllegalArgumentException: Start time cannot be null
>         at org.quartz.SimpleTrigger.setStartTime(SimpleTrigger.java:323)
>         at org.quartz.SimpleTrigger.<init>(SimpleTrigger.java:260)
>         at org.jboss.seam.async.QuartzDispatcher.scheduleWithQuartzService(QuartzDispatcher.java:179)
>         at org.jboss.seam.async.QuartzDispatcher.scheduleWithQuartzServiceAndWrapExceptions(QuartzDispatcher.java:115)
>         at org.jboss.seam.async.QuartzDispatcher.scheduleInvocation(QuartzDispatcher.java:101)
>         at org.jboss.seam.async.QuartzDispatcher.scheduleInvocation(QuartzDispatcher.java:44)
>         at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:38)
>         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
>         at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
>         at org.javassist.tmp.java.lang.Object_$$_javassist_1.start(Object_$$_javassist_1.java)
> As I inspected the problem lies at QuartsDispatcher in line 179 where new SimpleTrigger is created with null startTime which is forbidden.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list