Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F04D9116BD for ; Thu, 12 Jun 2014 12:41:26 +0000 (UTC) Received: (qmail 22129 invoked by uid 500); 12 Jun 2014 12:41:26 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 22074 invoked by uid 500); 12 Jun 2014 12:41:26 -0000 Mailing-List: contact dev-help@flink.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.incubator.apache.org Delivered-To: mailing list dev@flink.incubator.apache.org Received: (qmail 22064 invoked by uid 99); 12 Jun 2014 12:41:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 12:41:26 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 12 Jun 2014 12:41:27 +0000 Received: (qmail 21230 invoked by uid 99); 12 Jun 2014 12:41:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 12:41:02 +0000 Date: Thu, 12 Jun 2014 12:41:01 +0000 (UTC) From: "Stephan Ewen (JIRA)" To: dev@flink.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-922) coGroup ordering NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FLINK-922?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14029= 110#comment-14029110 ]=20 Stephan Ewen commented on FLINK-922: ------------------------------------ I will merge this now. This should become part of the 0.5.1 bugfix release. > coGroup ordering NullPointerException > ------------------------------------- > > Key: FLINK-922 > URL: https://issues.apache.org/jira/browse/FLINK-922 > Project: Flink > Issue Type: Bug > Affects Versions: pre-apache-0.5 > Reporter: Bastian K=C3=B6cher > Assignee: Sebastian Kunert > Attachments: IMPRO-3.SS14.G03-test.zip > > > I'm running a delta iteration and want to execute an coGroup on the solut= ionset but I'm getting a NullPointerException. > Here is the stacktrace:=20 > java.lang.NullPointerException > =09at eu.stratosphere.compiler.operators.CoGroupDescriptor.instantiate(Co= GroupDescriptor.java:131) > =09at eu.stratosphere.compiler.dag.TwoInputNode.instantiate(TwoInputNode.= java:555) > =09at eu.stratosphere.compiler.dag.TwoInputNode.addLocalCandidates(TwoInp= utNode.java:523) > =09at eu.stratosphere.compiler.dag.TwoInputNode.getAlternativePlans(TwoIn= putNode.java:453) > =09at eu.stratosphere.compiler.dag.SingleInputNode.getAlternativePlans(Si= ngleInputNode.java:251) > =09at eu.stratosphere.compiler.dag.WorksetIterationNode.instantiate(Works= etIterationNode.java:308) > =09at eu.stratosphere.compiler.dag.TwoInputNode.addLocalCandidates(TwoInp= utNode.java:523) > =09at eu.stratosphere.compiler.dag.TwoInputNode.getAlternativePlans(TwoIn= putNode.java:453) > =09at eu.stratosphere.compiler.dag.DataSinkNode.getAlternativePlans(DataS= inkNode.java:192) > =09at eu.stratosphere.compiler.PactCompiler.compile(PactCompiler.java:715= ) > =09at eu.stratosphere.compiler.PactCompiler.compile(PactCompiler.java:553= ) > =09at eu.stratosphere.client.LocalExecutor.executePlan(LocalExecutor.java= :216) > =09at eu.stratosphere.api.java.LocalEnvironment.execute(LocalEnvironment.= java:57) > =09at eu.stratosphere.api.java.ExecutionEnvironment.execute(ExecutionEnvi= ronment.java:520) > And here is my code I use to call the coGroup: > DeltaIteration iteration =3D documents.iterateDelt= a(similarities, 10000, 1); > =09=09 > DataSet linkageSet =3D iteration.getWorkset().reduce= (new MinRed()); > DataSet delta =3D iteration.getSolutionSet().coGroup(li= nkageSet).where(0).equalTo(1).with(new PointUpdater()); -- This message was sent by Atlassian JIRA (v6.2#6252)