Tencent / MMKV

An efficient, small mobile key-value storage framework developed by WeChat. Works on Android, iOS, macOS, Windows, and POSIX.
Other
17.26k stars 1.89k forks source link

LogServer.java occurred NullPointerException #211

Closed caoxingyu closed 5 years ago

caoxingyu commented 5 years ago

The language of MMKV

Java

The version of MMKV

v1.0.17

The platform of MMKV

Android

The installation of MMKV

Maven

What's the issue?

Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String java.lang.CharSequence.toString()' on a null object reference at com.tencent.qcloud.logutils.LogServer.onActivityStarted(LogServer.java:58) at android.app.Application.dispatchActivityStarted(Application.java:214) Exception on LogServer.java : String content = item.getText().toString().trim(); item is is a null object

caoxingyu commented 5 years ago

qcloud issue