From user-return-31567-archive-asf-public=cust-asf.ponee.io@commons.apache.org Wed Jul 24 06:37:20 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 584B118025F for ; Wed, 24 Jul 2019 08:37:20 +0200 (CEST) Received: (qmail 30085 invoked by uid 500); 24 Jul 2019 06:37:18 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 30073 invoked by uid 99); 24 Jul 2019 06:37:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2019 06:37:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AC3BAC0A4D for ; Wed, 24 Jul 2019 06:37:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.802 X-Spam-Level: * X-Spam-Status: No, score=1.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id LeD2nFGxbPtd for ; Wed, 24 Jul 2019 06:37:15 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.160.196; helo=mail-qt1-f196.google.com; envelope-from=swapnilsvaidya@gmail.com; receiver= Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 71B7CBC781 for ; Wed, 24 Jul 2019 06:37:15 +0000 (UTC) Received: by mail-qt1-f196.google.com with SMTP id l9so44387741qtu.6 for ; Tue, 23 Jul 2019 23:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=3Pr+t7DF1xQ0GYkvpcSRbdZjXEwrjwqYJcMuW8fKUUA=; b=sgYlOjuNZq1wFt/162XxtWvP0V7CvTvCHXbtjLt6d0kxCSmi/IIJD/TgaZXB59Lr+E k0T+muOEG5Kc67wILsuudnur6SPp0fPJJ83jjPxhBLlhVYgPu0apJqBwQUQzKJC7isUH X0a6ThnTI8rEfG78HSZ+gFbpZo4wb2rL4siGJiwRoQ5cH0V8MsFrKxx+LSMH3JFkpmws bZswV7Lp9Z+9M1dqK4dtBCv8cVIAcWjSue5HlAwGrCyvLtnPZKZc0+fTI8/pk6WMl+x8 YLR+hN/FuYZRI2MabZh6KfucGuii5s2WqK05XbbaqrUKW5WwOsLy1ZGOxRxsrHE8ZtOy 1t9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3Pr+t7DF1xQ0GYkvpcSRbdZjXEwrjwqYJcMuW8fKUUA=; b=Fv2NLLSdTkhJGlbhpVXBsW1WLr5Xc5UcxzXjPgHERtoLPw/FqPMx3MmuLZy8ZMSCdw 58U6UGVLuF5PWqVXXGaoKRkFcfaafaJHiWiytO9gix16/cd0xabfV9br48uO689VAtOE ButChDGRcsWXpoBy609JV9dKkhsVFWumAZr2H2tJU5IZS7EdVgdKlUVEcnNHpBtkUnqO 7f3aL8dyWXeHlP/bCG9NZQcx5/IXU9rWGxymZZQUXSCgRJ7/mfSQOEjR6kVTgHoGiF62 27rgdY3VXsq/g8Wd93fVt6xP4ESldm+gR/ryRaluu0KTBf2aM21g/QtQK2uVYxIi3flm 7cVg== X-Gm-Message-State: APjAAAVmFE4eB/fLB0Iy35rzqmLvixu6AP3A76iALj+hKkHKqmqBjtDt ugPUcNnTrcMV9/DvqW/kW7qh0/7CH0OS40eM1bdhsGlk X-Google-Smtp-Source: APXvYqxN7rhHlWzOYPEJd1L+g4jyu2md6mpN09yd1fi/hbil9dsReG6ogsg3X9gc9bVZrgxpZLVN8w1maupShiM69Vo= X-Received: by 2002:a0c:8602:: with SMTP id p2mr58215703qva.111.1563950228702; Tue, 23 Jul 2019 23:37:08 -0700 (PDT) MIME-Version: 1.0 From: swapnil vaidya Date: Wed, 24 Jul 2019 12:05:46 +0530 Message-ID: Subject: Problem with passing multiple params in calling method through Jexl expression To: user@commons.apache.org Content-Type: multipart/alternative; boundary="000000000000d408e5058e67892d" --000000000000d408e5058e67892d Content-Type: text/plain; charset="UTF-8" Hi, I have requirement that, I need to call a function which take multiple params. I need to create a sub Array from the original Array. Following is the expression I am calling: "".class.forName(\"java.utils.Arrays\").copyOfRange(#{default.alarms.results},0,1)", the #{default.alarms.results} is the value that will be evaluated runtime by jsonpath expression. This gives me an error as unresolvable method/function. However if we call any other method which takes single param, it works. Could you please help me with this? Regards, Swapnil --000000000000d408e5058e67892d--