flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Hogan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4823) org.apache.flink.types.NullFieldException: Field 0 is null, but expected to hold a value
Date Thu, 27 Oct 2016 16:47:58 GMT

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

Greg Hogan commented on FLINK-4823:
-----------------------------------

How are you creating your {{Graph}}? Each vertex represented in the edge set should be in
the vertex set.

Based on this exception we do need to add better error checking with a more specific log message.

> org.apache.flink.types.NullFieldException: Field 0 is null, but expected to hold a value
> ----------------------------------------------------------------------------------------
>
>                 Key: FLINK-4823
>                 URL: https://issues.apache.org/jira/browse/FLINK-4823
>             Project: Flink
>          Issue Type: Bug
>          Components: Gelly
>    Affects Versions: 1.1.0
>         Environment: RHEL 6.6
>            Reporter: Sajeev Ramakrishnan
>
> Team,
>   We are getting NULL pointer exception while doing the vertex centric graph traversal.
> org.apache.flink.types.NullFieldException: Field 0 is null, but expected to hold a value.
>         at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.serialize(TupleSerializer.java:126)
>         at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.serialize(TupleSerializer.java:30)
>         at org.apache.flink.runtime.plugable.SerializationDelegate.write(SerializationDelegate.java:56)
>         at org.apache.flink.runtime.io.network.api.serialization.SpanningRecordSerializer.addRecord(SpanningRecordSerializer.java:83)
>         at org.apache.flink.runtime.io.network.api.writer.RecordWriter.emit(RecordWriter.java:85)
>         at org.apache.flink.runtime.operators.shipping.OutputCollector.collect(OutputCollector.java:65)
>         at org.apache.flink.api.java.operators.JoinOperator$DefaultJoin$WrappingFlatJoinFunction.join(JoinOperator.java:572)
>         at org.apache.flink.runtime.operators.JoinWithSolutionSetFirstDriver.run(JoinWithSolutionSetFirstDriver.java:196)
>         at org.apache.flink.runtime.operators.BatchTask.run(BatchTask.java:486)
>         at org.apache.flink.runtime.iterative.task.AbstractIterativeTask.run(AbstractIterativeTask.java:146)
>         at org.apache.flink.runtime.iterative.task.IterationIntermediateTask.run(IterationIntermediateTask.java:92)
>         at org.apache.flink.runtime.operators.BatchTask.invoke(BatchTask.java:351)
>         at org.apache.flink.runtime.taskmanager.Task.run(Task.java:584)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NullPointerException
>         at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.serialize(TupleSerializer.java:122)
>         at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.serialize(TupleSerializer.java:30)
>         at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.serialize(TupleSerializer.java:124)
>         ... 13 more
> All the parameters that I am passing for the vertex and edges are not null. Not able
to find out the root cause.
> Thanks & Regards,
> Sajeev Ramakrishnan



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

Mime
View raw message