From notifications-return-155211-archive-asf-public=cust-asf.ponee.io@asterixdb.apache.org Fri Apr 10 20:26:06 2020 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 E6AFD18057A for ; Fri, 10 Apr 2020 22:26:05 +0200 (CEST) Received: (qmail 55722 invoked by uid 500); 10 Apr 2020 20:26:05 -0000 Mailing-List: contact notifications-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list notifications@asterixdb.apache.org Received: (qmail 55711 invoked by uid 99); 10 Apr 2020 20:26:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2020 20:26:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 90A2BC1DB9 for ; Fri, 10 Apr 2020 20:26:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -112.99 X-Spam-Level: X-Spam-Status: No, score=-112.99 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_DMARC_STATUS=0.01, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id lwsIAAvcC41L for ; Fri, 10 Apr 2020 20:26:02 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=207.244.88.153; helo=mail.apache.org; envelope-from=jira@apache.org; receiver= Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with SMTP id 093A67FA88 for ; Fri, 10 Apr 2020 20:26:01 +0000 (UTC) Received: (qmail 55455 invoked by uid 99); 10 Apr 2020 20:26:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2020 20:26:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AF66EE2DAD for ; Fri, 10 Apr 2020 20:26:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 0DA0578012A for ; Fri, 10 Apr 2020 20:26:00 +0000 (UTC) Date: Fri, 10 Apr 2020 20:26:00 +0000 (UTC) From: "Wail Y. Alkowaileet (Jira)" To: notifications@asterixdb.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ASTERIXDB-2712) AsterixInputStreamReader ByteBuffer can exceed the limit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Wail Y. Alkowaileet created ASTERIXDB-2712: ---------------------------------------------- Summary: AsterixInputStreamReader ByteBuffer can exceed the li= mit Key: ASTERIXDB-2712 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2712 Project: Apache AsterixDB Issue Type: Bug Components: EXT - External data Reporter: Wail Y. Alkowaileet Assignee: Wail Y. Alkowaileet The issue appears when the read more data while having remaining data that = is not decodable. The thrown RuntimeException is suppressed and not logged. The suppressed exception: {code:java} java.lang.IllegalArgumentException: nulljava.lang.IllegalArgumentException:= null at java.nio.Buffer.position(Buffer.java:244) ~[?:1.8.0_201] at org.ap= ache.asterix.external.input.stream.AsterixInputStreamReader.read(AsterixInp= utStreamReader.java:105) ~[classes/:?] at org.apache.asterix.external.input= .stream.AsterixInputStreamReader.read(AsterixInputStreamReader.java:67) ~[c= lasses/:?] at org.apache.asterix.external.input.record.reader.stream.SemiSt= ructuredRecordReader.hasNext(SemiStructuredRecordReader.java:95) ~[classes/= :?] at org.apache.asterix.external.dataflow.FeedRecordDataFlowController.ha= sNext(FeedRecordDataFlowController.java:151) ~[classes/:?] at org.apache.as= terix.external.dataflow.FeedRecordDataFlowController.start(FeedRecordDataFl= owController.java:81) ~[classes/:?] at org.apache.asterix.external.dataset.= adapter.FeedAdapter.start(FeedAdapter.java:38) ~[classes/:?] at org.apache.= asterix.external.operators.FeedIntakeOperatorNodePushable.doRun(FeedIntakeO= peratorNodePushable.java:115) ~[classes/:?] at org.apache.asterix.external.= operators.FeedIntakeOperatorNodePushable.run(FeedIntakeOperatorNodePushable= .java:101) ~[classes/:?] at org.apache.asterix.external.operators.FeedIntak= eOperatorNodePushable.start(FeedIntakeOperatorNodePushable.java:83) ~[class= es/:?] at org.apache.asterix.active.ActiveSourceOperatorNodePushable.initia= lize(ActiveSourceOperatorNodePushable.java:102) ~[classes/:?] at org.apache= .hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$runI= nParallel$0(SuperActivityOperatorNodePushable.java:228) ~[classes/:?] at ja= va.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_201] at jav= a.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149= ) [?:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Threa= dPoolExecutor.java:624) [?:1.8.0_201] at java.lang.Thread.run(Thread.java:7= 48) [?:1.8.0_201] {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)