flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Quan Shi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-12043) Null value check in array serializers classes
Date Thu, 28 Mar 2019 07:06:00 GMT
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)

Mime
View raw message