Closed
Bug 556480
Opened 14 years ago
Closed 14 years ago
AutoCompleteUtils error
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: vingtetun, Assigned: mfinkle)
Details
Attachments
(1 file)
2.56 KB,
patch
|
vingtetun
:
review+
|
Details | Diff | Splinter Review |
Error: AutoCompleteUtils: Could not write to cache file: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIFileOutputStream.init]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: file:///home/steakdepapillon/Devel/fennec/mobilebase/mobile/dist/bin/components/AutoCompleteCache.js :: saveCache :: line 182" data: no] Source File: file:///home/steakdepapillon/Devel/fennec/mobilebase/mobile/dist/bin/components/AutoCompleteCache.js Line: 192 Since a few days I seeing this a lot
Assignee | ||
Comment 1•14 years ago
|
||
Does this happen only at startup every time? Only at startup after a new build?
Reporter | ||
Comment 2•14 years ago
|
||
I'm seeing it every times on desktop but only after a delay, not at startup, I'll try to pay more attention to it next time. (I wonder if this file is corrupted or not on my computer)
Assignee | ||
Comment 3•14 years ago
|
||
I introduced this error when I added the bookmark listener. The AutoCompleteUtils class is not initialized so the file is null. This patch puts a check to not initialize twice and it initializes from the bookmark listener. Tests run without any errors now.
Assignee: nobody → mark.finkle
Attachment #440765 -
Flags: review?(21)
Reporter | ||
Comment 4•14 years ago
|
||
Comment on attachment 440765 [details] [diff] [review] patch Good catch! I'll see in the next few day if I see the error again.
Attachment #440765 -
Flags: review?(21) → review+
Assignee | ||
Comment 5•14 years ago
|
||
pushed: http://hg.mozilla.org/mobile-browser/rev/ef28c4586cc5
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•