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

NullPointerException in com.tencent.sonic.sdk.SonicServer.getResponseCode() #181

Closed ghost closed 6 years ago

ghost commented 6 years ago

java.lang.NullPointerException: Attempt to invoke virtual method 'int com.tencent.sonic.sdk.SonicServer.getResponseCode()' on a null object reference at com.tencent.sonic.sdk.SonicSession.handleFlow_Connection(SonicSession.java:543) at com.tencent.sonic.sdk.SonicSession.runSonicFlow(SonicSession.java:475) at com.tencent.sonic.sdk.SonicSession.access$000(SonicSession.java:49) at com.tencent.sonic.sdk.SonicSession$1.run(SonicSession.java:435) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:760)

marlonlu commented 6 years ago

This bug has been fixed at the VasSonic 2.0 release version. https://github.com/Tencent/VasSonic/commit/2f708e63532a7d095993c6ac98d1f87f13bead4f