[
https://issues.apache.org/jira/browse/FLINK-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062113#comment-14062113
]
Stephan Ewen commented on FLINK-1026:
-------------------------------------
As the initial message said, I got the error by running it through the command
line.
Can you reproduce it using the packaged WordCountPOJO.jar that is in the
examples directory?
> 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)