Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.0.CR1
    • Fix Version/s: 2.1.0.GA
    • Component/s: Async
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pmuir Pete Muir
                  Reporter:
                  blabno Bernard Labno
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: