code: static String[] toNoNullStringArray(final Object[] array) {
          final List<String> list = new ArrayList<>(array.length);
          for (final Object e : array) {
              if (e != null) {
                  list.add(e.toString());
              }
          }
          return list.toArray(ArrayUtils.EMPTY_STRING_ARRAY);
      }
docs: Returns a new array of Strings without null elements. Internal method used to normalize exclude lists
  (arrays and collections). Note that {@link Arrays#sort(Object[])} will throw an {@link NullPointerException}
  if an array element is <code>null</code>.
  
  @param array
  The array to check
  @return The given array or a new array without null.