java.lang.Throwable: Warning: A WebView method was called on thread 'KrollRuntimeThread'. All WebView methods must be called on the UI thread. Future versions of WebView may not support use on other threads.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Appcelerator JIRA by Mauro Parra-Miranda, 1 year ago
Warning: A WebView method was called on thread 'KrollRuntimeThread'. All WebView methods must be called on the UI thread. Future versions of WebView may not support use on other threads.
via GitHub by e-lefort
, 1 year ago
A WebView method was called on thread 'Thread-5666'. All WebView methods must be called on the same thread. (Expected Looper Looper (main, tid 1) {41e3be58} called on null, FYI main Looper is Looper (main, tid 1) {41e3be58})
via Xamarin Bugzilla by jon.goldberger, 1 year ago
A WebView method was called on thread 'Thread-304'. All WebView methods must be called on the same thread. (Expected Looper Looper (main, tid 1) {428dee20} called on null, FYI main Looper is Looper (main, tid 1) {428dee20})
via GitHub by geeksville
, 10 months ago
A WebView method was called on thread 'Timer-0'. All WebView methods must be called on the same thread. (Expected Looper Looper (main, tid 1) {4229b070} called on null, FYI main Looper is Looper (main, tid 1) {4229b070})
via Stack Overflow by user3033437
, 2 years ago
A WebView method was called on thread 'IntentService[GcmIntentService]'. All WebView methods must be called on the same thread. (Expected Looper Looper (main, tid 1) {1dfc4d5d} called on Looper (IntentService[GcmIntentService], tid 751) {252b8ab0}, FYI main Looper is Looper (main, tid 1) {1dfc4d5d})
via processing.org by Unknown author, 2 years ago
A WebView method was called on thread 'AsyncTask #1'. All WebView methods must be called on the same thread. (Expected Looper Looper (main, tid 1) {41e8c2c8} called on null, FYI main Looper is Looper (main, tid 1) {41e8c2c8})
java.lang.Throwable: Warning: A WebView method was called on thread 'KrollRuntimeThread'. All WebView methods must be called on the UI thread. Future versions of WebView may not support use on other threads.
at android.webkit.WebView.checkThread(WebView.java:1876)
at ti.modules.titanium.ui.widget.webview.TiUIWebView.setHtmlInternal(TiUIWebView.java:447)
at ti.modules.titanium.ui.widget.webview.TiUIWebView.setHtml(TiUIWebView.java:383)
at ti.modules.titanium.ui.widget.webview.TiUIWebView.setHtml(TiUIWebView.java:389)
at ti.modules.titanium.ui.WebViewProxy.setHtml(WebViewProxy.java:107)
at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)
at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:58)
at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:694)
at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:918)
at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:310)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:137)
at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)

Users with the same issue

57 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
24 times, 1 year ago
21 times, 1 year ago
10 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.