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

ASF GitHub Bot commented on FLINK-2391:
---------------------------------------

Github user mjsax commented on a diff in the pull request:

    https://github.com/apache/flink/pull/940#discussion_r35519188
  
    --- Diff: 
flink-contrib/flink-storm-compatibility/flink-storm-compatibility-core/src/main/java/org/apache/flink/stormcompatibility/api/FlinkTopologyBuilder.java
 ---
    @@ -153,7 +157,8 @@ public FlinkTopology createTopology() {
                                                        // global grouping is 
emulated in Storm via an empty fields grouping list
                                                        final List<String> 
fields = grouping.get_fields();
                                                        if (fields.size() > 0) {
    -                                                           inputDataStream 
= inputDataStream.groupBy(declarer.getGroupingFieldIndexes(grouping
    +                                                           
FlinkOutputFieldsDeclarer procDeclarer = this.declarers.get(producerId);
    --- End diff --
    
    typo: prodDeclarer (not procDeclarer)


> Storm-compatibility:method FlinkTopologyBuilder.createTopology() throws 
> java.lang.NullPointerException
> ------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-2391
>                 URL: https://issues.apache.org/jira/browse/FLINK-2391
>             Project: Flink
>          Issue Type: Bug
>          Components: flink-contrib
>    Affects Versions: 0.10
>         Environment: win7 32bit;linux
>            Reporter: Huang Wei
>              Labels: features
>             Fix For: 0.10
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> core dumped at FlinkOutputFieldsDeclarer.java : 160(package 
> FlinkOutputFieldsDeclarer).
> code : fieldIndexes[i] = this.outputSchema.fieldIndex(groupingFields.get(i));
> in this line, the var this.outputSchema may be null.



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

Reply via email to