Closed Bug 439468 Opened 17 years ago Closed 17 years ago

Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decode]

Categories

(Cloud Services :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: iav, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008061606 Minefield/3.0pre Build Identifier: 0.1.30 Weave stops synchronize history with error: 2008-06-16 20:51:52 Service.HistEngine INFO Downloading server deltas 2008-06-16 20:51:52 Service.DAV DEBUG GET request for user-data/history/deltas.json 2008-06-16 20:52:00 Service.Crypto DEBUG Decrypting data 2008-06-16 20:52:00 Service.Util DEBUG Running command: D:\FirefoxPortableTest\Data\profile\extensions\{340c2bbc-ce74-4362-90b5-7c26312808ef}\openssl\win32\exec.bat D:\FirefoxPortableTest\Data\profile\weave\tmp D:\FirefoxPortableTest\Data\profile\extensions\{340c2bbc-ce74-4362-90b5-7c26312808ef}\openssl\win32\openssl.exe aes-256-cbc -d -a -salt -in input -out output -pass file:pass 2008-06-16 20:52:00 Service.Crypto DEBUG Done decrypting data 2008-06-16 20:52:00 Service.Main ERROR [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decode]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///D:/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/engines.js :: BmkEngine__getServerData :: line 615" data: no] Reproducible: Sometimes
Is it possible to reproduce the json decoding problem with a recent (nss-enabled) weave? - like 0.1.32?
Not yet, but will try.
Please reopen if this is still a problem.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
0.1.32: 2008-06-28 07:05:08 Service.DAV DEBUG GET request for user-data/history/keys.json 2008-06-28 07:05:10 Service.Resource DEBUG GET request successful 2008-06-28 07:05:10 Service.JsonFilter DEBUG Decoding JSON data 2008-06-28 07:05:10 Service.RemoteStore TRACE Getting latest from snap --> scratch 2008-06-28 07:05:10 Service.RemoteStore INFO Downloading all server data from scratch 2008-06-28 07:05:10 Service.DAV DEBUG GET request for user-data/history/snapshot.json 2008-06-28 07:05:12 Service.Resource DEBUG GET request successful 2008-06-28 07:05:12 Service.CryptoFilter DEBUG Decrypting data 2008-06-28 07:05:12 Service.JsonFilter DEBUG Decoding JSON data 2008-06-28 07:05:12 Service.Main ERROR Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decode] (JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: JsonFilter_afterGET :: line 313) 2008-06-28 07:05:12 Service.Main ERROR JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: JsonFilter_afterGET :: line 313 JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen_run :: line 223 JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: Async_run :: line 342 JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: Async_sugar :: line 362 JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: Res__request :: line 212 JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen__cont :: line 236 JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: anonymous :: line 136 JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen__done :: line 289 JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: anonymous :: line 264 JS frame :: file:///C:/portable/FirefoxPortableTest/Data/profile/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js :: EL_notify :: line 439 This exception was raised by an asynchronous coroutine. Initial async stack trace: unknown (async) :: Engine__sync-10650 module:engines.js:431 :: Engine_sync module:service.js:688 :: WeaveSvc__syncEngine module:wrap.js:91 :: WeaveNotifyWrapper module:service.js:657 :: WeaveSync__syncAsNeeded module:async.js:136 :: anonymous module:async.js:264 :: anonymous module:util.js:439 :: EL_notify
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
I'm having the same problem with build 0.1.32. BTW, I had no problem with previous builds. Also this happens on my second computer after I cleared all client data via Advanced button in weave and done initial sync on my home PC. Here is the verbose trace: 2008-06-29 00:06:01 Service.DAV DEBUG GET request for user-data/tabs/deltas/24 2008-06-29 00:06:02 Service.ResourceSet DEBUG GET request successful 2008-06-29 00:06:02 Service.CryptoFilter DEBUG Decrypting data 2008-06-29 00:06:02 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:02 Service.Main ERROR Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decode] (JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: JsonFilter_afterGET :: line 313) 2008-06-29 00:06:02 Service.Main ERROR JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: JsonFilter_afterGET :: line 313 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen_run :: line 223 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: Async_run :: line 342 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: Async_sugar :: line 362 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: Res__request :: line 212 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen__cont :: line 236 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: anonymous :: line 136 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen__done :: line 289 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: anonymous :: line 264 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js :: EL_notify :: line 439 This exception was raised by an asynchronous coroutine. Initial async stack trace: unknown (async) :: Engine__sync-694 module:engines.js:431 :: Engine_sync module:service.js:688 :: WeaveSvc__syncEngine module:wrap.js:91 :: WeaveNotifyWrapper module:service.js:657 :: WeaveSync__syncAsNeeded module:async.js:136 :: anonymous module:async.js:264 :: anonymous module:util.js:439 :: EL_notify 2008-06-29 00:06:02 Service.DAV DEBUG UNLOCK request for lock 2008-06-29 00:06:09 Service.DAV DEBUG LOCK request for lock 2008-06-29 00:06:09 Service.DAV DEBUG GET request for meta/version 2008-06-29 00:06:10 Service.Main TRACE Retrieving keypair from server 2008-06-29 00:06:10 Service.DAV DEBUG GET request for private/privkey 2008-06-29 00:06:10 Service.DAV DEBUG GET request for public/pubkey 2008-06-29 00:06:14 Service.BmkEngine INFO Beginning sync 2008-06-29 00:06:14 Service.DAV DEBUG GET request for user-data/ 2008-06-29 00:06:15 Service.DAV DEBUG GET request for user-data/bookmarks/ 2008-06-29 00:06:15 Service.DAV DEBUG GET request for user-data/bookmarks/deltas/ 2008-06-29 00:06:16 Service.RemoteStore DEBUG Downloading status file 2008-06-29 00:06:16 Service.DAV DEBUG GET request for user-data/bookmarks/status.json 2008-06-29 00:06:16 Service.Resource DEBUG GET request successful 2008-06-29 00:06:16 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:16 Service.RemoteStore DEBUG Downloading status file... done 2008-06-29 00:06:16 Service.BmkEngine INFO Local snapshot version: -1 2008-06-29 00:06:16 Service.BmkEngine INFO Server maxVersion: 0 2008-06-29 00:06:16 Service.DAV DEBUG GET request for user-data/bookmarks/keys.json 2008-06-29 00:06:17 Service.Resource DEBUG GET request successful 2008-06-29 00:06:17 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:17 Service.RemoteStore TRACE Getting latest from snap --> scratch 2008-06-29 00:06:17 Service.RemoteStore INFO Downloading all server data from scratch 2008-06-29 00:06:17 Service.DAV DEBUG GET request for user-data/bookmarks/snapshot.json 2008-06-29 00:06:18 Service.Resource DEBUG GET request successful 2008-06-29 00:06:18 Service.CryptoFilter DEBUG Decrypting data 2008-06-29 00:06:18 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:18 Service.Main ERROR Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decode] (JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: JsonFilter_afterGET :: line 313) 2008-06-29 00:06:18 Service.Main ERROR JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: JsonFilter_afterGET :: line 313 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen_run :: line 223 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: Async_run :: line 342 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: Async_sugar :: line 362 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: Res__request :: line 212 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen__cont :: line 236 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: anonymous :: line 136 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen__done :: line 289 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: anonymous :: line 264 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js :: EL_notify :: line 439 This exception was raised by an asynchronous coroutine. Initial async stack trace: unknown (async) :: BmkEngine__sync-900 module:engines.js:431 :: Engine_sync module:service.js:688 :: WeaveSvc__syncEngine module:wrap.js:91 :: WeaveNotifyWrapper module:service.js:621 :: WeaveSync__sync module:async.js:136 :: anonymous module:async.js:264 :: anonymous module:util.js:439 :: EL_notify 2008-06-29 00:06:18 Service.HistEngine INFO Beginning sync 2008-06-29 00:06:18 Service.DAV DEBUG GET request for user-data/ 2008-06-29 00:06:18 Service.DAV DEBUG GET request for user-data/history/ 2008-06-29 00:06:19 Service.DAV DEBUG GET request for user-data/history/deltas/ 2008-06-29 00:06:20 Service.RemoteStore DEBUG Downloading status file 2008-06-29 00:06:20 Service.DAV DEBUG GET request for user-data/history/status.json 2008-06-29 00:06:20 Service.Resource DEBUG GET request successful 2008-06-29 00:06:20 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:20 Service.RemoteStore DEBUG Downloading status file... done 2008-06-29 00:06:20 Service.HistEngine INFO Local snapshot version: -1 2008-06-29 00:06:20 Service.HistEngine INFO Server maxVersion: 42 2008-06-29 00:06:20 Service.DAV DEBUG GET request for user-data/history/keys.json 2008-06-29 00:06:21 Service.Resource DEBUG GET request successful 2008-06-29 00:06:21 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:21 Service.RemoteStore TRACE Getting latest from snap --> scratch 2008-06-29 00:06:21 Service.RemoteStore INFO Downloading all server data from scratch 2008-06-29 00:06:21 Service.DAV DEBUG GET request for user-data/history/snapshot.json 2008-06-29 00:06:21 Service.Resource DEBUG GET request successful 2008-06-29 00:06:21 Service.CryptoFilter DEBUG Decrypting data 2008-06-29 00:06:21 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:21 Service.Main ERROR Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decode] (JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: JsonFilter_afterGET :: line 313) 2008-06-29 00:06:21 Service.Main ERROR JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: JsonFilter_afterGET :: line 313 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen_run :: line 223 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: Async_run :: line 342 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: Async_sugar :: line 362 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: Res__request :: line 212 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen__cont :: line 236 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: anonymous :: line 136 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen__done :: line 289 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: anonymous :: line 264 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js :: EL_notify :: line 439 This exception was raised by an asynchronous coroutine. Initial async stack trace: unknown (async) :: Engine__sync-925 module:engines.js:431 :: Engine_sync module:service.js:688 :: WeaveSvc__syncEngine module:wrap.js:91 :: WeaveNotifyWrapper module:service.js:621 :: WeaveSync__sync module:async.js:136 :: anonymous module:async.js:264 :: anonymous module:util.js:439 :: EL_notify 2008-06-29 00:06:21 Service.PasswordEngine INFO Beginning sync 2008-06-29 00:06:21 Service.DAV DEBUG GET request for user-data/ 2008-06-29 00:06:22 Service.DAV DEBUG GET request for user-data/passwords/ 2008-06-29 00:06:23 Service.DAV DEBUG GET request for user-data/passwords/deltas/ 2008-06-29 00:06:23 Service.RemoteStore DEBUG Downloading status file 2008-06-29 00:06:23 Service.DAV DEBUG GET request for user-data/passwords/status.json 2008-06-29 00:06:24 Service.Resource DEBUG GET request successful 2008-06-29 00:06:24 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:24 Service.RemoteStore DEBUG Downloading status file... done 2008-06-29 00:06:24 Service.PasswordEngine INFO Local snapshot version: 6 2008-06-29 00:06:24 Service.PasswordEngine INFO Server maxVersion: 6 2008-06-29 00:06:24 Service.DAV DEBUG GET request for user-data/passwords/keys.json 2008-06-29 00:06:24 Service.Resource DEBUG GET request successful 2008-06-29 00:06:24 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:25 Service.RemoteStore DEBUG Using last sync snapshot as server snapshot (snap version == max version) 2008-06-29 00:06:25 Service.RemoteStore TRACE Local snapshot version == server maxVersion 2008-06-29 00:06:25 Service.PasswordEngine INFO Sync complete: no changes needed on client or server 2008-06-29 00:06:25 Service.FormEngine INFO Beginning sync 2008-06-29 00:06:25 Service.DAV DEBUG GET request for user-data/ 2008-06-29 00:06:25 Service.DAV DEBUG GET request for user-data/forms/ 2008-06-29 00:06:26 Service.DAV DEBUG GET request for user-data/forms/deltas/ 2008-06-29 00:06:27 Service.RemoteStore DEBUG Downloading status file 2008-06-29 00:06:27 Service.DAV DEBUG GET request for user-data/forms/status.json 2008-06-29 00:06:27 Service.Resource DEBUG GET request successful 2008-06-29 00:06:27 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:27 Service.RemoteStore DEBUG Downloading status file... done 2008-06-29 00:06:27 Service.FormEngine INFO Local snapshot version: -1 2008-06-29 00:06:27 Service.FormEngine INFO Server maxVersion: 15 2008-06-29 00:06:27 Service.DAV DEBUG GET request for user-data/forms/keys.json 2008-06-29 00:06:28 Service.Resource DEBUG GET request successful 2008-06-29 00:06:28 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:28 Service.RemoteStore TRACE Getting latest from snap --> scratch 2008-06-29 00:06:28 Service.RemoteStore INFO Downloading all server data from scratch 2008-06-29 00:06:28 Service.DAV DEBUG GET request for user-data/forms/snapshot.json 2008-06-29 00:06:28 Service.Resource DEBUG GET request successful 2008-06-29 00:06:28 Service.CryptoFilter DEBUG Decrypting data 2008-06-29 00:06:28 Service.JsonFilter DEBUG Decoding JSON data 2008-06-29 00:06:28 Service.Main ERROR Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decode] (JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: JsonFilter_afterGET :: line 313) 2008-06-29 00:06:28 Service.Main ERROR JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: JsonFilter_afterGET :: line 313 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen_run :: line 223 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: Async_run :: line 342 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: Async_sugar :: line 362 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/remote.js :: Res__request :: line 212 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen__cont :: line 236 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: anonymous :: line 136 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: AsyncGen__done :: line 289 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js :: anonymous :: line 264 JS frame :: file:///C:/Users/{USERNAME}/AppData/Roaming/Mozilla/Firefox/Profiles/77cgw0so.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js :: EL_notify :: line 439 This exception was raised by an asynchronous coroutine. Initial async stack trace: unknown (async) :: Engine__sync-969 module:engines.js:431 :: Engine_sync module:service.js:688 :: WeaveSvc__syncEngine module:wrap.js:91 :: WeaveNotifyWrapper module:service.js:621 :: WeaveSync__sync module:async.js:136 :: anonymous module:async.js:264 :: anonymous module:util.js:439 :: EL_notify This causes no content to be synced onto my laptop :(
Still having the same problem in 0.1.33 :(
Yes, this bug is still open. I am at a loss for the cause, however. Any help in reproducing the problem (from a clean server) would be appreciated.
Status: UNCONFIRMED → NEW
Ever confirmed: true
It is always reproducable for me. Here is what I have done: 1. Cleared all server data and reset login. 2. Ran wizard on home PC (Vista Business SP1) entered to sync Bookmarks, History, Passwords and Tabs, entered for location "Home PC" 3. Initial Sync was done flawlessly. 4. Got to my work Laptop (Vista Ultimate SP1). Cleared client data and reset Weave login 5. Ran wizard selected exactly the same compoenents to sync and entered Work Laptop as description. 6. Then do sync on the laptop - and no sync is done and all components return the above given error.
Confirm completely comment #8
The steps from comment #8 do not get me the error. In my case, Weave downloads and applies the information synced up by the first computer. I tested with bookmarks, history, cookies, and tabs enabled, on OSX 10.5.
I posted my logs to the 0.1.33 thread on the forum (username sternklang). I should mention, only one of my systems is XP, the other (where the logs came from) is Gentoo Linux, so this issue is not limited to Windows.
Agreed - I don't believe the issue is OS-related at all. I was able to see the problem once in the past, though I don't know how to reproduce it. At that time, the error was because a file on the server was completely blank. Since Weave expected a JSON formatted file, the exception was thrown. The real question is how I ended up with a blank file. I have no ideas at the moment.
My observations: 1. It's definitely not OS-related. It occurs both under Windows and Linux. 2. It's reproducible _always_ for me. 3. The Bookmarks and History engines are affected. The Passwords engine is not. 4. It's not related to blank files, at least not in my case. It's triggered by user-data/bookmarks/snapshot.json and by user-data/history/snapshot.json. These files are 49K and 301K, respectively. Question: Is there any way to intercept the decrypted contents of a snapshot.json file (after Weave decrypts it)? If yes, I can check to see why it isn't valid JSON.
About point 2 (reproducible), note that I mean 'reproducible from a clean slate'. That is, assuming the data on the server is somehow corrupt, I don't know what causes it to be corrupt. Once it becomes corrupt, I understand that every sync would trigger it. It's interesting that they are not blank in your case. I'm not sure what to make of this. There's no built-in way to save off the json before it is parsed. But you could do so relatively easily by editing the json filter in modules/remote.js and logging it to the console (or writing a file, but the console is easier). Just copy the debug statement there and log the json string.
Yes, I reproduced it from a 'clean slate' several times in a row. That is, after complete server wipes. This means that the initial sync consistently uploads corrupted snapshot.json files. I'll see about capturing the JSON now...
Very interesting. I wonder if it's something about your data that causes it? Let me know what you find. I'm also on irc.mozilla.org #labs if you want some real-time help.
I think I found the culprit. Seems like it's a problem with encodings. Non-ASCII characters can sometimes break it. Here is a fragment of my bookmarks json, which doesn't validate (the 'description' field is the first that fails): "{2188a033-e48c-4959-8032-a41782876abc}31": { "parentGUID": "{2188a033-e48c-4959-8032-a41782876abc}27", "index": 3, "type": "bookmark", "title": "BGtelevizor", "description": ";5409B5 1J;30@A:8B5 B5;528788 =0 682> >=;09= - ", >20 B5;52878O, ", "7, Fox Life, Fox Crime, GTV, ", 8=3 ", ;0=5B0, $5= ", 0;:0=8:0, TV Bulgaria 8 <=>3> 4@C38 B2 ?@>3@0<8.", "URI": "http://www.bgtelevizor.net/", "tags": [ ], "keyword": null },
To clarify: that text should be UTF8, but it's currently jumble... Looks like some part of Weave is not UTF8-aware.
To confirm those tests: I've cleared server data. Cleared local history. Visited some web sites that have only ASCII chars in title. Done initial sync. Them moved to other computer synced and all the history appeared :) So this is definitely problem with encoding. Also on ore 0.1.32 versions I was not experincing this problem, so I guess the problem should be in any of the new components introduced to 0.1.32 (perhaps crypto engine?)
Thanks! It is indeed a problem with the new crypto component. We'll have a fix in the next update tomorrow.
Just FYI, don't know if you meant this new version 0.1.34 but there still the problem exists.
0.1.34 was built before the fix landed. We've committed the fix to the hg repository, and will build a new extension today.
Version 0.2.0 fixed the problem for me. Thanks!
Great! Resolving as fixed.
Status: NEW → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
Component: Weave → General
Product: Mozilla Labs → Weave
Target Milestone: -- → ---
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: