Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件获取的mDeviceStat.did为空 #142

Open
lingfei263 opened this issue Oct 17, 2019 · 0 comments
Open

插件获取的mDeviceStat.did为空 #142

lingfei263 opened this issue Oct 17, 2019 · 0 comments

Comments

@lingfei263
Copy link

设备:米家喷墨打印机
crash日志日期为:10月17日.
已使用最新版米家.不能稳定复现.
iot平台crash统计日志中出现的问题.日志如下
===plugin crash===
pluginId=628
pkgId=26545
userId=********
java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.xiaomi.smarthome.device.api.DeviceStat.did' on a null object reference
at com.hannto.anise.android.common.BaseActivity.getAllStatus(BaseActivity.java:272)
at com.hannto.anise.android.common.BaseActivity.handleMessage(BaseActivity.java:235)
at com.hannto.anise.android.MainActivity.handleMessage(MainActivity.java:772)
at com.xiaomi.smarthome.device.api.XmPluginBaseActivity$ActivityHandler.handleMessage(SourceFile:70)
at android.os.Handler.dispatchMessage(Handler.java:112)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant