You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2015/03/23 09:57:10 UTC

[jira] [Reopened] (FLINK-1757) java.lang.ClassCastException is thrown while summing Short values on window

     [ https://issues.apache.org/jira/browse/FLINK-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Metzger reopened FLINK-1757:
-----------------------------------

> java.lang.ClassCastException is thrown while summing Short values on window
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-1757
>                 URL: https://issues.apache.org/jira/browse/FLINK-1757
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>            Reporter: Péter Szabó
>            Assignee: Péter Szabó
>             Fix For: 0.9
>
>
> java.lang.ClassCastException is thrown while summing Short values on window
> Stack Trace:
> Caused by: java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Short
> 	at org.apache.flink.streaming.api.streamvertex.OutputHandler.invokeUserFunction(OutputHandler.java:232)
> 	at org.apache.flink.streaming.api.streamvertex.StreamVertex.invoke(StreamVertex.java:121)
> 	at org.apache.flink.runtime.execution.RuntimeEnvironment.run(RuntimeEnvironment.java:205)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Short
> 	at org.apache.flink.api.common.typeutils.base.ShortSerializer.copy(ShortSerializer.java:27)
> 	at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.copy(TupleSerializer.java:95)
> 	at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.copy(TupleSerializer.java:30)
> 	at org.apache.flink.streaming.api.invokable.StreamInvokable.copy(StreamInvokable.java:166)
> 	at org.apache.flink.streaming.api.invokable.SinkInvokable.collect(SinkInvokable.java:46)
> 	at org.apache.flink.streaming.api.collector.DirectedCollectorWrapper.collect(DirectedCollectorWrapper.java:95)
> 	at org.apache.flink.streaming.api.invokable.operator.GroupedReduceInvokable.reduce(GroupedReduceInvokable.java:47)
> 	at org.apache.flink.streaming.api.invokable.operator.StreamReduceInvokable.invoke(StreamReduceInvokable.java:39)
> 	at org.apache.flink.streaming.api.streamvertex.StreamVertex.invokeUserFunction(StreamVertex.java:85)
> 	at org.apache.flink.streaming.api.streamvertex.OutputHandler.invokeUserFunction(OutputHandler.java:229)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)