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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

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 codenameone
, 2 years ago
Warning: A WebView method was called on thread 'EDT'. All WebView methods must be called on the UI thread. Future versions of WebView may not support use on other threads.
via Stack Overflow by Dhaval Varia
, 1 year ago
A WebView method was called on thread 'Thread-539'. All WebView methods must be called on the same thread. (Expected Looper Looper (main, tid 1) {41cd58a8} called on null, FYI main Looper is Looper (main, tid 1) {41cd58a8})
via wikitude.com by Unknown author, 2 years ago
Warning: A WebView method was called on thread 'WebViewCoreThread'. All WebView methods must be called on the UI thread. Future versions of WebView may not support use on other threads.
via Stack Overflow by Johan Hoeksma
, 1 year ago
A WebView method was called on thread 'JavaBridge'. All WebView methods must be called on the same thread. (Expected Looper Looper{41ab68f8} called on Looper{41bb70a8}, FYI main Looper is Looper{41ab68f8})
via scriptscoop.net by Unknown author, 1 year ago
A WebView method was called on thread 'JavaBridge'. All WebView methods must be called on the same thread. (Expected Looper Looper (main, tid 1) {2e799371} called on Looper (JavaBridge, tid 210) {72d6c48}, FYI main Looper is Looper (main, tid 1) {2e799371})
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 android.webkit.WebView.getSettings(WebView.java:1559)
at ti.modules.titanium.ui.widget.webview.TiUIWebView.setHtmlInternal(TiUIWebView.java:423)
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

21 times, 1 year ago
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

Write tip

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