Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-12043

Null value check in array serializers classes

    XMLWordPrintableJSON

Details

    Description

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

       
      Involved classes:

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

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

      Attachments

        Issue Links

          Activity

            People

              aloyszhang Aloys Zhang
              quan Quan Shi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m