#0 src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java:131: error: Null Dereference object `null` is dereferenced by call to `toString(...)` at line 131. 129. */ 130. public static String toString(final Object object) { 131. > return toString(object, null, false, false, null); 132. } 133. #1 src/main/java/org/apache/commons/lang3/time/DurationUtils.java:142: error: Null Dereference object returned by `org.apache.commons.lang3.time.DurationUtils.LONG_TO_INT_RANGE.fit(valueOf(duration.toMillis()))` could be null and is dereferenced at line 142. 140. Objects.requireNonNull(duration, "duration"); 141. // intValue() does not do a narrowing conversion here 142. > return LONG_TO_INT_RANGE.fit(Long.valueOf(duration.toMillis())).intValue(); 143. } 144. #2 src/main/java/org/apache/commons/lang3/CharSetUtils.java:181: error: Null Dereference object `chars` last assigned on line 177 could be null and is dereferenced at line 181. 179. final char[] chrs = str.toCharArray(); 180. for (final char chr : chrs) { 181. > if (chars.contains(chr) == expect) { 182. buffer.append(chr); 183. } #3 src/main/java/org/apache/commons/lang3/builder/ToStringBuilder.java:223: error: Null Dereference object `null` is dereferenced by call to `ToStringBuilder(...)` at line 223. 221. */ 222. public ToStringBuilder(final Object object) { 223. > this(object, null, null); 224. } 225. #4 src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java:347: error: Null Dereference object `field` last assigned on line 344 could be null and is dereferenced by call to `readStaticField(...)` at line 347. 345. Validate.notNull(field, "Cannot locate field '%s' on %s", fieldName, cls); 346. // already forced access above, don't repeat it here: 347. > return readStaticField(field, false); 348. } 349. #5 src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java:391: error: Null Dereference object `field` last assigned on line 388 could be null and is dereferenced by call to `readStaticField(...)` at line 391. 389. Validate.notNull(field, "Cannot locate declared field %s.%s", cls.getName(), fieldName); 390. // already forced access above, don't repeat it here: 391. > return readStaticField(field, false); 392. } 393. #6 src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java:605: error: Null Dereference object `field` last assigned on line 602 could be null and is dereferenced by call to `writeStaticField(...)` at line 605. 603. Validate.notNull(field, "Cannot locate field %s on %s", fieldName, cls); 604. // already forced access above, don't repeat it here: 605. > writeStaticField(field, value, false); 606. } 607. #7 src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java:650: error: Null Dereference object `field` last assigned on line 647 could be null and is dereferenced by call to `writeField(...)` at line 650. 648. Validate.notNull(field, "Cannot locate declared field %s.%s", cls.getName(), fieldName); 649. // already forced access above, don't repeat it here: 650. > writeField(field, (Object) null, value, false); 651. } 652. #8 src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java:983: error: Null Dereference object `classes` last assigned on line 982 could be null and is dereferenced at line 983. 981. final Class mcls = method.getDeclaringClass(); 982. final List> classes = getAllSuperclassesAndInterfaces(mcls); 983. > for (final Class acls : classes) { 984. final Method equivalentMethod = (ignoreAccess ? MethodUtils.getMatchingMethod(acls, method.getName(), method.getParameterTypes()) 985. : MethodUtils.getMatchingAccessibleMethod(acls, method.getName(), method.getParameterTypes())); Found 9 issues Issue Type(ISSUED_TYPE_ID): # Null Dereference(NULL_DEREFERENCE): 9