#vulnerable code 
                             public ResultSetMapperBuilder<T> addMapping(String property, int column) {
		Setter<T, Object> setter = setterFactory.getSetter(target, property);
		
		Mapper<ResultSet, T> fieldMapper;
		
		if (setter.getPropertyType().isPrimitive()) {
			fieldMapper = primitiveFieldMapper(column, setter);
		} else {
			fieldMapper = objectFieldMapper(column, setter);
		}
		
		fields.add(fieldMapper);
		return this;
	} 
                            #location 6 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             public ResultSetMapperBuilder<T> addMapping(String property, int column) {
		Setter<T, Object> setter = setterFactory.getSetter(target, property);
		addMapping(setter, column);
		return this;
	}