Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 13559200B44 for ; Thu, 14 Jul 2016 18:38:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 12323160A63; Thu, 14 Jul 2016 16:38:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5A87C160A60 for ; Thu, 14 Jul 2016 18:37:59 +0200 (CEST) Received: (qmail 95885 invoked by uid 500); 14 Jul 2016 16:37:53 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 95873 invoked by uid 99); 14 Jul 2016 16:37:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2016 16:37:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D6A691A0727 for ; Thu, 14 Jul 2016 16:37:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id lw-Lpm3EJ-_d for ; Thu, 14 Jul 2016 16:37:50 +0000 (UTC) Received: from mail-io0-f179.google.com (mail-io0-f179.google.com [209.85.223.179]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id AA2BA5F3FC for ; Thu, 14 Jul 2016 16:37:49 +0000 (UTC) Received: by mail-io0-f179.google.com with SMTP id 38so80751438iol.0 for ; Thu, 14 Jul 2016 09:37:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=+lPn/I0UaltWi+fD8qFbNXLW1eGuWlszCLg4SQL5sHw=; b=duRFaoHxIklRbmwcNxspUAN6SPi21M/+UiTiPFCmnQpy0OelTDqpSZ4a7QasLaSkEI zmkA3krqbIDsA2UrCR3jd3sBC4zvKyT7zKbeL8vgbnT71wI+EU8AU4djOpIvTa8MHJZX LgWfcEn/0sotrxYkY+wwZnKH6VDE/ybPHko4Ti1CSdLD2cmzku2Dq3FwXPy/n5v5tfrI fxRwhoh6fFSklgwyQZTfgx3nbpDJfE8Np4y3i02/z1EmrZpVwetx9ApQ9exMhHUIDLDg jjL/vZEswNctn0D+aITwq5sFG6F5HcHF/A1UyHYcs+gg/Jt8wqJ5UcEy5PSVMCCxTduo 3l1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=+lPn/I0UaltWi+fD8qFbNXLW1eGuWlszCLg4SQL5sHw=; b=ExUZTHwzbYeW7ItY1PF3I6YWuSOGPAPniFOH1FUSq9ghkuPJF+6Mr/1wD/fNy05fov aLXQh7pKZD8Myt1iaF9/onPOAmk26qMSCTXw3ywebdEavmRhdKXfefbG4jii94vqO/JV UvDPI071MfhXpwBBFAGBst78+E9wdBa6LGxbqtiAe41cCN9ZqbrRMnYsawc93NgsR4BY PQxpza4/byxv1BTPL6jfDtmlZFhW6dO4enWopD0P1ar/Us2G8dKpDDHzhXwm8yVxOiBi NRwHVBS1wYy/+rR4Icxz5ZbdUDoyU0rV8GCvKmt8LCWlvNVTZA/4ELV1ls7ZFWDAWsPX TCBw== X-Gm-Message-State: ALyK8tJJfWESCeSFuGdKTGw+LBeYfuy1hKZiUPc98TNqN6TaLNSQijIBqEgA2sjM6xTXEe5W8JzoglJrTwsuYQ== X-Received: by 10.107.191.195 with SMTP id p186mr17511095iof.115.1468514268456; Thu, 14 Jul 2016 09:37:48 -0700 (PDT) MIME-Version: 1.0 Sender: milapwadhwa@gmail.com Received: by 10.36.35.2 with HTTP; Thu, 14 Jul 2016 09:37:48 -0700 (PDT) In-Reply-To: References: From: Milap Wadhwa Date: Thu, 14 Jul 2016 22:07:48 +0530 X-Google-Sender-Auth: BWgm8H-835seRLTJK3R1hJVFALU Message-ID: Subject: Re: [jira] [Created] (IGNITE-2527) IndexOutOfBoundsException in scheduler future To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary=001a114f11b051b1c205379b1f6b archived-at: Thu, 14 Jul 2016 16:38:00 -0000 --001a114f11b051b1c205379b1f6b Content-Type: text/plain; charset=UTF-8 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) 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) > --001a114f11b051b1c205379b1f6b--