EventHub.removeMessages(int what = 107) is not supported before the WebViewCore is set up.
2014-07-31 10:19
453 查看
03 14:12:13.712: W/webcore(20618): java.lang.Throwable: EventHub.removeMessages(int what = 107) is not supported before the WebViewCore is set up.
04-03 14:12:13.712: W/webcore(20618): at android.webkit.WebViewCore$EventHub.removeMessages(WebViewCore.java:1683)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.WebViewCore$EventHub.access$7900(WebViewCore.java:926)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.WebViewCore.removeMessages(WebViewCore.java:1795)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.WebView.sendOurVisibleRect(WebView.java:3081)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.ZoomManager.setZoomScale(ZoomManager.java:597)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.ZoomManager.access$1700(ZoomManager.java:49)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.ZoomManager$PostScale.run(ZoomManager.java:988)
04-03 14:12:13.712: W/webcore(20618): at android.os.Handler.handleCallback(Handler.java:605)
04-03 14:12:13.712: W/webcore(20618): at android.os.Handler.dispatchMessage(Handler.java:92)
04-03 14:12:13.712: W/webcore(20618): at android.os.Looper.loop(Looper.java:137)
04-03 14:12:13.712: W/webcore(20618): at android.app.ActivityThread.main(ActivityThread.java:4424)
04-03 14:12:13.712: W/webcore(20618): at java.lang.reflect.Method.invokeNative(Native Method)
04-03 14:12:13.712: W/webcore(20618): at java.lang.reflect.Method.invoke(Method.java:511)
04-03 14:12:13.712: W/webcore(20618): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853)
04-03 14:12:13.712: W/webcore(20618): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:579)
04-03 14:12:13.712: W/webcore(20618): at dalvik.system.NativeStart.main(Native Method)
加载webview时,如果在loadurl在getSettings之后,就会报上面的错误,虽然界面显示正常。
那么,先loadUrl,再去getSettings,就没有这个warning了
04-03 14:12:13.712: W/webcore(20618): at android.webkit.WebViewCore$EventHub.removeMessages(WebViewCore.java:1683)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.WebViewCore$EventHub.access$7900(WebViewCore.java:926)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.WebViewCore.removeMessages(WebViewCore.java:1795)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.WebView.sendOurVisibleRect(WebView.java:3081)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.ZoomManager.setZoomScale(ZoomManager.java:597)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.ZoomManager.access$1700(ZoomManager.java:49)
04-03 14:12:13.712: W/webcore(20618): at android.webkit.ZoomManager$PostScale.run(ZoomManager.java:988)
04-03 14:12:13.712: W/webcore(20618): at android.os.Handler.handleCallback(Handler.java:605)
04-03 14:12:13.712: W/webcore(20618): at android.os.Handler.dispatchMessage(Handler.java:92)
04-03 14:12:13.712: W/webcore(20618): at android.os.Looper.loop(Looper.java:137)
04-03 14:12:13.712: W/webcore(20618): at android.app.ActivityThread.main(ActivityThread.java:4424)
04-03 14:12:13.712: W/webcore(20618): at java.lang.reflect.Method.invokeNative(Native Method)
04-03 14:12:13.712: W/webcore(20618): at java.lang.reflect.Method.invoke(Method.java:511)
04-03 14:12:13.712: W/webcore(20618): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853)
04-03 14:12:13.712: W/webcore(20618): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:579)
04-03 14:12:13.712: W/webcore(20618): at dalvik.system.NativeStart.main(Native Method)
加载webview时,如果在loadurl在getSettings之后,就会报上面的错误,虽然界面显示正常。
那么,先loadUrl,再去getSettings,就没有这个warning了
相关文章推荐
- java.lang.Throwable: EventHub.removeMessages(int what = 107) is not supported before the WebViewCore
- Android Webview 加载一个页面时,报错 java.lang.Throwable: EventHub.removeMessages(int what = 105) is not suppo
- Android 使用Webview时,有时抛 java.lang.Throwable: EventHub.removeMessages(int what = 107) warning
- The method setBackground(Drawable) in the type View is not applicable for the arguments (int)
- *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<WKWebViewConfiguration 0x1701bcd20> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the k
- what is the core technology for WEBGIS and MobileGIS
- The method setOnClickListener(View.OnClickListener) in the type View is not applicable for the argum
- The method setOnClickListener(View.OnClickListener) in the type View is not applicable for the argum
- How can I set the background of UITableView (the tableview style is "Grouped") to use an image?
- What is the Web Application Developer Framework
- Node.js: What is the best "full stack web framework" (with scaffolding, MVC, ORM, etc.) based on Node.js / server-side JavaScript? - Quora
- what is the difference between MirrorView, SanCopy, SanpSure and SnapView
- What is the Web Appliation Archive, abbreviation is "WAR"
- The type org.eclipse.core.commands.common.EventManager cannot be resolved. It is indirectly referenced from required .class file
- The method setOnKeyListener(View.OnKeyListener) in the type View is not applicable for the argum
- What is the difference between application server and web server?
- What is the relationship between WebIDL and WebKitIDL
- What is installed with the Web ADF?
- what is the difference between const int*, const int * const, int const *
- What is the difference between database table and database view?