Tencent / VasSonic

VasSonic is a lightweight and high-performance Hybrid framework developed by tencent VAS team, which is intended to speed up the first screen of websites working on Android and iOS platform.
Other
11.83k stars 1.61k forks source link

void com.tencent.sonic.sdk.SonicDiffDataCallback.callback(java.lang.String) 导致crash #246

Closed mAndroidNovice closed 6 years ago

mAndroidNovice commented 6 years ago

What steps will reproduce the problem? 该问题的重现步骤是什么?

  1. 用户的机器 不知道怎么复现

What is the expected output? What do you see instead? 运行正常显示

What version of the product are you using? On what operating system? sonic版本: 3.0.0 java.lang.NullPointerException: Attempt to invoke interface method 'void com.tencent.sonic.sdk.SonicDiffDataCallback.callback(java.lang.String)' on a null object reference at com.tencent.sonic.sdk.SonicSession.setResult(SonicSession.java:1181) at com.tencent.sonic.sdk.QuickSonicSession.handleMessage(QuickSonicSession.java:186) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5706) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1033) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:828)

Please provide any additional information below. 如果有的话,请在下面提供更多信息。

mAndroidNovice commented 6 years ago

651203654 王亚伟

marlonlu commented 6 years ago

非常感谢你反馈,我们会在下一个版本中修复