Quan Shi created FLINK-12043:
--------------------------------

             Summary: Null value check in array serializers classes
                 Key: FLINK-12043
                 URL: https://issues.apache.org/jira/browse/FLINK-12043
             Project: Flink
          Issue Type: Bug
          Components: API / Type Serialization System
    Affects Versions: 1.7.2
            Reporter: Quan Shi


Null pointer exception when get length of "_from"_ if _"from"_ is null in 
copy() method:

 
Involved classes:
{code:java}
// code placeholder
public String[] copy(String[] from) {
   String[] target = new String[from.length];
   System.arraycopy(from, 0, target, 0, from.length);
   return target;
}

{code}
Involved serializer classes in package 
"org.apache.flink.api.common.typeutils.base.array" 
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to