<on kotlin jackson ObjectMapper.readValue() causes...
# stackoverflow
u
on kotlin jackson ObjectMapper.readValue() causes java.lang.IllegalStateException: readValue(content, jacksonTypeRef<T>()) must not be null On crashlytics I am getting an java.lang.IllegalStateException: readValue(content, jacksonTypeRef()) must not be null exception on the 4th line. I couldn't reproduce it. I think mapper.readValue(string) is returning null where is shouldn't. I handled the string being null case so other than string being null what could cause mapper.readValue(string) to return null so I end up with this exception and what is possible way to reproduce this error? var token: token? = null get() {...