flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Hueske (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1978) POJO serialization NPE
Date Wed, 06 May 2015 15:31:59 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530715#comment-14530715
] 

Fabian Hueske commented on FLINK-1978:
--------------------------------------

Hi [~f.pompermaier], I reproduced the bug with the provided code and will work on a fix.
Thanks for reporting!

> POJO serialization NPE
> ----------------------
>
>                 Key: FLINK-1978
>                 URL: https://issues.apache.org/jira/browse/FLINK-1978
>             Project: Flink
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9
>            Reporter: Flavio Pompermaier
>
> NullPointer on serialization of a Date field:
> 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:1132)
> 	at org.apache.flink.runtime.operators.CoGroupDriver.prepare(CoGroupDriver.java:98)
> 	at org.apache.flink.runtime.operators.RegularPactTask.run(RegularPactTask.java:464)
> 	... 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:784)
> 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:1)
> 	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:958)
> 	at org.apache.flink.runtime.operators.sort.UnilateralSortMerger$ThreadBase.run(UnilateralSortMerger.java:781)



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

Mime
View raw message