flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-1026) WordCount POJO fails with null pointer exception
Date Mon, 14 Jul 2014 16:45:06 GMT
Stephan Ewen created FLINK-1026:
-----------------------------------

             Summary: WordCount POJO fails with null pointer exception
                 Key: FLINK-1026
                 URL: https://issues.apache.org/jira/browse/FLINK-1026
             Project: Flink
          Issue Type: Bug
          Components: Java API
    Affects Versions: 0.6-incubating
            Reporter: Stephan Ewen
            Assignee: Aljoscha Krettek
            Priority: Critical
             Fix For: 0.6-incubating


When run from the command line on larger inputs, the WordCountPOJO fails.

{code}
java.lang.NullPointerException
	at org.apache.flink.api.java.typeutils.runtime.PojoComparator.compare(PojoComparator.java:271)
	at org.apache.flink.runtime.operators.sort.NormalizedKeySorter.compareRecords(NormalizedKeySorter.java:319)
	at org.apache.flink.runtime.operators.sort.NormalizedKeySorter.compare(NormalizedKeySorter.java:357)
	at org.apache.flink.runtime.operators.sort.QuickSort.sortInternal(QuickSort.java:96)
	at org.apache.flink.runtime.operators.sort.QuickSort.sort(QuickSort.java:52)
	at org.apache.flink.runtime.operators.sort.QuickSort.sort(QuickSort.java:56)
	at org.apache.flink.runtime.operators.ReduceCombineDriver.sortAndCombine(ReduceCombineDriver.java:166)
	at org.apache.flink.runtime.operators.ReduceCombineDriver.run(ReduceCombineDriver.java:149)
	at org.apache.flink.runtime.operators.RegularPactTask.run(RegularPactTask.java:509)
	at org.apache.flink.runtime.operators.RegularPactTask.invoke(RegularPactTask.java:374)
	at org.apache.flink.runtime.execution.RuntimeEnvironment.run(RuntimeEnvironment.java:265)
	at java.lang.Thread.run(Thread.java:745)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message