APB 1.3.10a 3090 Errors in Nightly 8.0a1

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
DogStar
Posts: 3
Joined: Thu Jul 07, 2011 5:00 am

APB 1.3.10a 3090 Errors in Nightly 8.0a1

Post by DogStar »

After the update to Nightly 8.0a1 I'm finding the following in the error console.

Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decodeFromStream]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://adblockplus-modules/content/FilterListener.jsm :: <TOP_LEVEL> :: line 104" data: no]
Source File: chrome://adblockplus-modules/content/FilterListener.jsm
Line: 158
IceDogg
Posts: 909
Joined: Fri Jun 09, 2006 11:22 pm

Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1

Post by IceDogg »

Confirmed: Seeing it here too.
Wladimir Palant

Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1

Post by Wladimir Palant »

I don't see it but I guess that the JSON parser simply got stricter (in which case this is a warning that is safe to ignore). Is that a one-time thing? I guess that it goes away once a new cache.js file is written.
Wladimir Palant

Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1

Post by Wladimir Palant »

Actually, I noticed that Ci.nsIJSON.encode() has been removed so the cache file will no longer be written. Too bad, that was the only way to work with JSON in the same way across all supported Firefox versions. I'll fix that later.
Wladimir Palant

Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1

Post by Wladimir Palant »

Turns out it was the same issue - cache.js file couldn't be saved and ended up having zero size. On next browser start it couldn't be read and produced the error message mentioned above.

Fixed: https://hg.adblockplus.org/adblockplus/rev/9b160984b5a9 (new development build will be available in 25 minutes). Nice side-effect: saving cache.js should be faster in Firefox 5 and higher now.
IceDogg
Posts: 909
Joined: Fri Jun 09, 2006 11:22 pm

Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1

Post by IceDogg »

Side note: I got an auto update for this dev build and that's a first for me. Has something changed? Or have I been missing out on something that always happened? I ask because I'm wondering if I had something wrong in my profile. Thanks
Wladimir Palant

Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1

Post by Wladimir Palant »

IceDogg, Firefox will only auto-update on browser restart, maybe that's the issue. Nothing changed recently, we've had auto-update for development builds for a long time by now.
IceDogg
Posts: 909
Joined: Fri Jun 09, 2006 11:22 pm

Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1

Post by IceDogg »

Ok, I was just checking. I bet I haven't been patient enough to allow it to auto-update. I had been away from the PC for a couple of days and that must be what was different. Thanks.
Zlip792
Posts: 78
Joined: Fri Jul 15, 2011 10:03 am
Location: Pakistan

Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1

Post by Zlip792 »

Post Reply