You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/04 15:53:38 UTC
[jira] [Commented] (FLINK-2158) NullPointerException in
DateSerializer.
[ https://issues.apache.org/jira/browse/FLINK-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572783#comment-14572783 ]
ASF GitHub Bot commented on FLINK-2158:
---------------------------------------
GitHub user rmetzger opened a pull request:
https://github.com/apache/flink/pull/780
[FLINK-2158] Add support for null to the DateSerializer
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rmetzger/flink flink2158
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/780.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #780
----
commit fffb19da53b52ccde56bbd3dd498a77569294804
Author: Robert Metzger <rm...@apache.org>
Date: 2015-06-04T11:19:32Z
[FLINK-2158] Add support for null to the DateSerializer
commit 7aecc6ccff56a6a6d42bf736fd1ebc12d760a6bc
Author: Robert Metzger <rm...@apache.org>
Date: 2015-06-04T11:56:07Z
fix tests on travis
----
> NullPointerException in DateSerializer.
> ---------------------------------------
>
> Key: FLINK-2158
> URL: https://issues.apache.org/jira/browse/FLINK-2158
> Project: Flink
> Issue Type: Bug
> Components: Local Runtime
> Affects Versions: 0.9
> Reporter: Robert Metzger
> Assignee: Robert Metzger
>
> A user reported the following issue to me.
> {code}
> The data preparation for task 'GroupReduce (GroupReduce at main(XXX.java:96))' , caused an error: Error obtaining the sorted input: Thread 'SortMerger Reading Thread' terminated due to an exception: null
> at org.apache.flink.runtime.operators.RegularPactTask.run(RegularPactTask.java:472)
> at org.apache.flink.runtime.operators.RegularPactTask.invoke(RegularPactTask.java:362)
> at org.apache.flink.runtime.execution.RuntimeEnvironment.run(RuntimeEnvironment.java:217)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.RuntimeException: Error obtaining the sorted input: Thread 'SortMerger Reading Thread' terminated due to an exception: null
> at org.apache.flink.runtime.operators.sort.UnilateralSortMerger.getIterator(UnilateralSortMerger.java:607)
> at org.apache.flink.runtime.operators.RegularPactTask.getInput(RegularPactTask.java:1134)
> at org.apache.flink.runtime.operators.GroupReduceDriver.prepare(GroupReduceDriver.java:94)
> at org.apache.flink.runtime.operators.RegularPactTask.run(RegularPactTask.java:466)
> ... 3 more
> Caused by: java.io.IOException: Thread 'SortMerger Reading Thread' terminated due to an exception: null
> at org.apache.flink.runtime.operators.sort.UnilateralSortMerger$ThreadBase.run(UnilateralSortMerger.java:785)
> Caused by: java.lang.NullPointerException
> at org.apache.flink.api.common.typeutils.base.DateSerializer.deserialize(DateSerializer.java:72)
> at org.apache.flink.api.common.typeutils.base.DateSerializer.deserialize(DateSerializer.java:28)
> at org.apache.flink.api.java.typeutils.runtime.PojoSerializer.deserialize(PojoSerializer.java:487)
> at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.deserialize(TupleSerializer.java:136)
> at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.deserialize(TupleSerializer.java:30)
> at org.apache.flink.runtime.plugable.ReusingDeserializationDelegate.read(ReusingDeserializationDelegate.java:57)
> at org.apache.flink.runtime.io.network.api.serialization.SpillingAdaptiveSpanningRecordDeserializer.getNextRecord(SpillingAdaptiveSpanningRecordDeserializer.java:111)
> at org.apache.flink.runtime.io.network.api.reader.AbstractRecordReader.getNextRecord(AbstractRecordReader.java:64)
> at org.apache.flink.runtime.io.network.api.reader.MutableRecordReader.next(MutableRecordReader.java:34)
> at org.apache.flink.runtime.operators.util.ReaderIterator.next(ReaderIterator.java:59)
> at org.apache.flink.runtime.operators.sort.UnilateralSortMerger$ReadingThread.go(UnilateralSortMerger.java:1020)
> at org.apache.flink.runtime.operators.sort.UnilateralSortMerger$ThreadBase.run(UnilateralSortMerger.java:781)
> {code}
> I'm investigating it ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)