Just let Integer.intValue() fail with NullPointerException and catch it.
Integer.intValue()
NullPointerException
Integer result; try { result = intList.stream().mapToInt(Integer::intValue).sum(); } catch (NullPointerException e) { result = null; }