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 059C310230 for ; Tue, 6 Jan 2015 14:48:55 +0000 (UTC) Received: (qmail 71130 invoked by uid 500); 6 Jan 2015 14:48:56 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 71073 invoked by uid 500); 6 Jan 2015 14:48:56 -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 71062 invoked by uid 99); 6 Jan 2015 14:48:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2015 14:48:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Tue, 06 Jan 2015 14:48:55 +0000 Received: (qmail 70856 invoked by uid 99); 6 Jan 2015 14:48:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2015 14:48:34 +0000 Date: Tue, 6 Jan 2015 14:48:34 +0000 (UTC) From: "Felix Neutatz (JIRA)" To: dev@flink.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-1360) Automatic type extraction for Void is missing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Felix Neutatz created FLINK-1360: ------------------------------------ Summary: Automatic type extraction for Void is missing Key: FLINK-1360 URL: https://issues.apache.org/jira/browse/FLINK-1360 Project: Flink Issue Type: Bug Reporter: Felix Neutatz Priority: Minor DataSet> data = env.fromElements(new Tuple2(null, 1L)); data.print(); throws the following exception: Exception in thread "main" org.apache.flink.api.common.functions.InvalidTypesException: Automatic type extraction is not possible on candidates with null values. Please specify the types directly. at org.apache.flink.api.java.typeutils.TypeExtractor.privateGetForObject(TypeExtractor.java:1174) at org.apache.flink.api.java.typeutils.TypeExtractor.getForObject(TypeExtractor.java:1152) at org.apache.flink.api.java.ExecutionEnvironment.fromElements(ExecutionEnvironment.java:540) at org.apache.flink.hadoopcompatibility.mapreduce.example.ParquetOutput.main(ParquetOutput.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134) -- This message was sent by Atlassian JIRA (v6.3.4#6332)