[jira] [Created] (IGNITE-2527) IndexOutOfBoundsException in scheduler future

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-2527) IndexOutOfBoundsException in scheduler future

Anton Vinogradov (Jira)
Valentin Kulichenko created IGNITE-2527:
-------------------------------------------

             Summary: IndexOutOfBoundsException in scheduler future
                 Key: IGNITE-2527
                 URL: https://issues.apache.org/jira/browse/IGNITE-2527
             Project: Ignite
          Issue Type: Bug
          Components: general
            Reporter: Valentin Kulichenko
            Priority: Minor
             Fix For: 1.6


Calling {{SchedulerFuture.nextExecutionTime()}} (and probably other methods) on a completed future leads to this exception:
{noformat}
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
        at org.apache.ignite.internal.processors.schedule.ScheduleFutureImpl.nextExecutionTime(ScheduleFutureImpl.java:455)
{noformat}
In particular, this happens if {{nextExecutionTime()}} right after calling {{IgniteScheduler.scheduleLocal()}} with an invalid pattern (see code example below). The exception is lost in this case and is never printed out or thrown.
{code}
SchedulerFuture schedulerFuture = ignite.scheduler().scheduleLocal(() -> {}, "{55} 53 3/5 * * *");
long nextExecutionTime = schedulerFuture.nextExecutionTime();
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (IGNITE-2527) IndexOutOfBoundsException in scheduler future

Milap Wadhwa
Hi,

I would like to pick up this ticket. Please assign me this ticket.


Thanks,
Milap Wadhwa

On 2 February 2016 at 10:50, Valentin Kulichenko (JIRA) <[hidden email]>
wrote:

> Valentin Kulichenko created IGNITE-2527:
> -------------------------------------------
>
>              Summary: IndexOutOfBoundsException in scheduler future
>                  Key: IGNITE-2527
>                  URL: https://issues.apache.org/jira/browse/IGNITE-2527
>              Project: Ignite
>           Issue Type: Bug
>           Components: general
>             Reporter: Valentin Kulichenko
>             Priority: Minor
>              Fix For: 1.6
>
>
> Calling {{SchedulerFuture.nextExecutionTime()}} (and probably other
> methods) on a completed future leads to this exception:
> {noformat}
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
>         at
> org.apache.ignite.internal.processors.schedule.ScheduleFutureImpl.nextExecutionTime(ScheduleFutureImpl.java:455)
> {noformat}
> In particular, this happens if {{nextExecutionTime()}} right after calling
> {{IgniteScheduler.scheduleLocal()}} with an invalid pattern (see code
> example below). The exception is lost in this case and is never printed out
> or thrown.
> {code}
> SchedulerFuture schedulerFuture = ignite.scheduler().scheduleLocal(() ->
> {}, "{55} 53 3/5 * * *");
> long nextExecutionTime = schedulerFuture.nextExecutionTime();
> {code}
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (IGNITE-2527) IndexOutOfBoundsException in scheduler future

Denis Magda
Hi,

What is your Apache Ignite JIRA account?


Denis

> On Jul 14, 2016, at 7:37 PM, Milap Wadhwa <[hidden email]> wrote:
>
> Hi,
>
> I would like to pick up this ticket. Please assign me this ticket.
>
>
> Thanks,
> Milap Wadhwa
>
> On 2 February 2016 at 10:50, Valentin Kulichenko (JIRA) <[hidden email]>
> wrote:
>
>> Valentin Kulichenko created IGNITE-2527:
>> -------------------------------------------
>>
>>             Summary: IndexOutOfBoundsException in scheduler future
>>                 Key: IGNITE-2527
>>                 URL: https://issues.apache.org/jira/browse/IGNITE-2527
>>             Project: Ignite
>>          Issue Type: Bug
>>          Components: general
>>            Reporter: Valentin Kulichenko
>>            Priority: Minor
>>             Fix For: 1.6
>>
>>
>> Calling {{SchedulerFuture.nextExecutionTime()}} (and probably other
>> methods) on a completed future leads to this exception:
>> {noformat}
>> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
>>        at
>> org.apache.ignite.internal.processors.schedule.ScheduleFutureImpl.nextExecutionTime(ScheduleFutureImpl.java:455)
>> {noformat}
>> In particular, this happens if {{nextExecutionTime()}} right after calling
>> {{IgniteScheduler.scheduleLocal()}} with an invalid pattern (see code
>> example below). The exception is lost in this case and is never printed out
>> or thrown.
>> {code}
>> SchedulerFuture schedulerFuture = ignite.scheduler().scheduleLocal(() ->
>> {}, "{55} 53 3/5 * * *");
>> long nextExecutionTime = schedulerFuture.nextExecutionTime();
>> {code}
>>
>>
>>
>> --
>> This message was sent by Atlassian JIRA
>> (v6.3.4#6332)
>>

Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (IGNITE-2527) IndexOutOfBoundsException in scheduler future

Milap Wadhwa
milap.wadhwa

On 15 July 2016 at 11:36, Denis Magda <[hidden email]> wrote:

> Hi,
>
> What is your Apache Ignite JIRA account?
>
> —
> Denis
>
> > On Jul 14, 2016, at 7:37 PM, Milap Wadhwa <[hidden email]>
> wrote:
> >
> > Hi,
> >
> > I would like to pick up this ticket. Please assign me this ticket.
> >
> >
> > Thanks,
> > Milap Wadhwa
> >
> > On 2 February 2016 at 10:50, Valentin Kulichenko (JIRA) <[hidden email]
> >
> > wrote:
> >
> >> Valentin Kulichenko created IGNITE-2527:
> >> -------------------------------------------
> >>
> >>             Summary: IndexOutOfBoundsException in scheduler future
> >>                 Key: IGNITE-2527
> >>                 URL: https://issues.apache.org/jira/browse/IGNITE-2527
> >>             Project: Ignite
> >>          Issue Type: Bug
> >>          Components: general
> >>            Reporter: Valentin Kulichenko
> >>            Priority: Minor
> >>             Fix For: 1.6
> >>
> >>
> >> Calling {{SchedulerFuture.nextExecutionTime()}} (and probably other
> >> methods) on a completed future leads to this exception:
> >> {noformat}
> >> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
> >>        at
> >>
> org.apache.ignite.internal.processors.schedule.ScheduleFutureImpl.nextExecutionTime(ScheduleFutureImpl.java:455)
> >> {noformat}
> >> In particular, this happens if {{nextExecutionTime()}} right after
> calling
> >> {{IgniteScheduler.scheduleLocal()}} with an invalid pattern (see code
> >> example below). The exception is lost in this case and is never printed
> out
> >> or thrown.
> >> {code}
> >> SchedulerFuture schedulerFuture = ignite.scheduler().scheduleLocal(() ->
> >> {}, "{55} 53 3/5 * * *");
> >> long nextExecutionTime = schedulerFuture.nextExecutionTime();
> >> {code}
> >>
> >>
> >>
> >> --
> >> This message was sent by Atlassian JIRA
> >> (v6.3.4#6332)
> >>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (IGNITE-2527) IndexOutOfBoundsException in scheduler future

Denis Magda
Done. Added you to the contributors list. You can go ahead an assign the ticket on yourself.


Denis

> On Jul 15, 2016, at 9:08 AM, Milap Wadhwa <[hidden email]> wrote:
>
> milap.wadhwa

Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (IGNITE-2527) IndexOutOfBoundsException in scheduler future

Milap Wadhwa
Thanks a lot !!!

On 15 July 2016 at 11:48, Denis Magda <[hidden email]> wrote:

> Done. Added you to the contributors list. You can go ahead an assign the
> ticket on yourself.
>
> —
> Denis
>
> > On Jul 15, 2016, at 9:08 AM, Milap Wadhwa <[hidden email]>
> wrote:
> >
> > milap.wadhwa
>
>