Comments (3)
小米3曾经是我们的实验室机器,没有遇到类似问题。麻烦提供一下机型配置和日志,我们跟进一下。
from vassonic.
机型是小米3移动版 系统是MIUI 8 6.10.20开发版,android版本4.4.4
这是崩溃日志
08-10 15:00:41.559 22507-22507/com.tencent.sonic E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.tencent.sonic, PID: 22507
java.lang.UnknownError: create session fail!
at com.tencent.sonic.demo.BrowserActivity.onCreate(BrowserActivity.java:113)
at android.app.Activity.performCreate(Activity.java:5245)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2153)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2238)
at android.app.ActivityThread.access$800(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5016)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
at dalvik.system.NativeStart.main(Native Method)
重现步骤:
点load without sonic->返回->点load with sonic(这里有一个很长的白屏时间,在白屏没有结束我就点了返回)->再点击load with sonic
from vassonic.
1.Crash原因:
java.lang.UnknownError: create session fail!
原因是:存在一个相同URL的session已经在执行,目前Demo里面仅允许同时执行一个相同URL的session。如果业务需要支持同时跑多个相同URL,可以在URL后面增加sonic保留字段。
2.结合白屏和Crash原因分析,楼主应该是出现了网络连接阻塞,导致销毁后,session所在线程无法结束,目前网络连接超时默认是5s,读取数据超时是10s。
麻烦 @vinoMVP 在交流群里面联系marlonlu一起确认。
from vassonic.
Related Issues (20)
- 360手机出现setResult: notify fail as webCallback is not set, please wait!
- iOS 使用cocoapod 添加不上库 现在框架还继续更新吗?
- Android Demo的请求responsecode是301 HOT 1
- 打开页面时,需要 back 多次,才能退出 WebView,中间会展示之前访问过的当前链接的页面内容
- WKWebView
- Weak Cryptographic Hash
- Cross-Site Scripting: Inter-Component Communication
- 有关UserAgent后面的Sonic/2.0.0的问题
- WKWebView HOT 3
- 页面乱码
- SDK能否添加oom捕获?
- 每次都加载 about:blank HOT 1
- 支持Google play应用市场吗? HOT 2
- 代码不维护更新了吗 HOT 1
- create sonic session fail! HOT 1
- KPI项目?不维护?
- Android 放一会再进去或者退出应用重进,又需要重新加载js等资源
- 该项目不维护了吗?是否还可以用 HOT 2
- JCenter service is shutting down
- VA
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vassonic.