java.lang.IllegalArgumentException: Cannot encode a null string.

From the gradle source file (,

public void writeString(CharSequence value) {

if (value == null) {

throw new IllegalArgumentException(“Cannot encode a null string.”);




I see the passed char sequence is null and is throwing the IllegalArgumentException Could some one help me how to find the root cause for this, Am i missing something? After my test run is completed i see this error. Version used: 1.10