java.lang.Throwable - Warning: A WebView method was called on thread. All WebView methods must be called on the UI thread

VERIFIED FIXED

Status

VERIFIED FIXED
7 years ago
7 years ago

People

(Reporter: aaronmt, Assigned: Harald)

Tracking

Details

(Reporter)

Description

7 years ago
I/ActivityManager(  149): START {cmp=org.mozilla.labs.Soup/.app.LauncherActivity} from pid 5383
D/dalvikvm(  149): GC_FOR_ALLOC freed 507K, 12% free 14216K/16071K, paused 54ms
D/LauncherActivity( 5383): onResolveIntent
D/SoupActivity( 5383): onCreateLayout skipped
V/PhoneStatusBar(  221): setLightsOn(true)
I/Web Console( 5383): navigator.id.getVerifiedEmail START at file:///android_asset/www/js/soup.js:81
I/Web Console( 5383): promise instant FIRE at null:4907
D/MozIdPlugin( 5383): Called preVerify: []
W/webview ( 5383): java.lang.Throwable: Warning: A WebView method was called on thread 'Thread-575'. All WebView methods must be called on the UI thread. Future versions of WebView may not support use on other threads.
W/webview ( 5383): 	at android.webkit.WebView.checkThread(WebView.java:9468)
W/webview ( 5383): 	at android.webkit.WebView.getUrl(WebView.java:3173)
W/webview ( 5383): 	at org.mozilla.labs.Soup.plugins.MozIdPlugin.execute(MozIdPlugin.java:40)
W/webview ( 5383): 	at com.phonegap.api.PluginManager$1.run(PluginManager.java:145)
W/webview ( 5383): 	at java.lang.Thread.run(Thread.java:856)

I get this on launch. Non Fatal, but bad practice.

--
Samsung Galaxy Nexus (Android 4.0.2)
9ae083fa6a7e14ecb22828a877420f374a0cb910
(Assignee)

Updated

7 years ago
Assignee: nobody → hkirschner
(Assignee)

Comment 1

7 years ago
Fixed all getUrl method calls from UI threads.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

7 years ago
Verified Fixed via latest commit (02/17).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.