Closed Bug 703727 Opened 13 years ago Closed 13 years ago

syncLogin failed responseBody -- org.json.JSONException: Value 401 of type java.lang.Integer cannot be converted to JSONObject

Categories

(Web Apps :: Soup, defect, P2)

ARM
Android
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: aaronmt, Assigned: Harald)

References

Details

W/AppsContract( 3715): syncLogin failed responseBody
W/AppsContract( 3715): org.json.JSONException: Value 401 of type java.lang.Integer cannot be converted to JSONObject
W/AppsContract( 3715): 	at org.json.JSON.typeMismatch(JSON.java:107)
W/AppsContract( 3715): 	at org.json.JSONObject.<init>(JSONObject.java:158)
W/AppsContract( 3715): 	at org.json.JSONObject.<init>(JSONObject.java:171)
W/AppsContract( 3715): 	at org.mozilla.labs.Soup.provider.AppsContract$Apps.syncLogin(AppsContract.java:218)
W/AppsContract( 3715): 	at org.mozilla.labs.Soup.provider.AppsContract$Apps.syncedList(AppsContract.java:252)
W/AppsContract( 3715): 	at org.mozilla.labs.Soup.plugins.MozAppsMgmtPlugin.execute(MozAppsMgmtPlugin.java:42)
W/AppsContract( 3715): 	at com.phonegap.api.PluginManager$1.run(PluginManager.java:145)
W/AppsContract( 3715): 	at java.lang.Thread.run(Thread.java:1019)

Akin to bug 703725, simply launching the Soup Launcher yields this failure.

Tested via 
Samsung Nexus S (Android 2.3.6)
origin/HEAD 94d8ae0
This is bad functionality tracking in tracker bug
Blocks: 698883
Priority: -- → P2
Added better error handling for sync and pre-auth.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Verified Fixed
--
Samsung Nexus S (Android 2.3.6)
origin/HEAD 7743233319
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.