java8Collectors.toMap 的value为null的时候报NullPointException ,key重复报IllegalStateException: Duplicate key

NoSuchKey