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


(Pradeep Amradi) #1

From the gradle source file (KryoBackedEncoder.java),

public void writeString(CharSequence value) {

if (value == null) {

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

}

output.writeString(value);

}

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