You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
Edit: This issue is caused by a malformed session-store-1 file. To assist in resolving this issue more quickly, I've constructed a small web-app. You can find it by clicking here.
Description
A corrupted entry in session-store-1'sledger.synopsis.publishers collection can cause Brave to render no tabs, and refuse to create any tabs. This issue was also reported on Twitter and in Community.
Steps to Reproduce
Manually modify a publishers-entry to resemble the first object shown below
Actual result:
Tabs are non-existent and non-instantiatable in Brave.
Expected result:
Brave should gracefully handle publisher objects which lack certain properties.
Reproduces how often:
I believe this is prone to happen once a month, when visit-metrics are removed from publisher objects.
Brave Version
0.21.19
about:brave info:
Reproducible on current live release:
Yes
Additional Information
Below are two objects. The first one prevents Brave from loading properly.
An uncaught exception occurred in the main process Uncaught Exception:
TypeError: Cannot read property 'concave' of undefined
at getPublisherData (C:\browser-laptop\app\browser\api\ledger.js:328:25)
at Object.keys.forEach.publisherKey (C:\browser-laptop\app\browser\api\ledger.js:437:23)
at Array.forEach (<anonymous>)
at synopsisNormalizer (C:\browser-laptop\app\browser\api\ledger.js:425:27)
at updatePublisherInfo (C:\browser-laptop\app\browser\api\ledger.js:552:11)
at initSynopsis (C:\browser-laptop\app\browser\api\ledger.js:1230:11)
at enable (C:\browser-laptop\app\browser\api\ledger.js:1304:11)
at initialize (C:\browser-laptop\app\browser\api\ledger.js:1995:11)
at Object.init (C:\browser-laptop\app\browser\api\ledger.js:2192:10)
at ledgerReducer (C:\browser-laptop\app\browser\reducers\ledgerReducer.js:39:27)
Note the assumption that result.scores exists, and is an object. In the case of the first object at the top of this thread, there is no scores property.
Fix may need to be nothing more than a small ternary:
Edit: This issue is caused by a malformed
session-store-1
file. To assist in resolving this issue more quickly, I've constructed a small web-app. You can find it by clicking here.Description
A corrupted entry in session-store-1's
ledger.synopsis.publishers
collection can cause Brave to render no tabs, and refuse to create any tabs. This issue was also reported on Twitter and in Community.Steps to Reproduce
Manually modify a publishers-entry to resemble the first object shown below
Actual result:
Tabs are non-existent and non-instantiatable in Brave.
Expected result:
Brave should gracefully handle publisher objects which lack certain properties.
Reproduces how often:
I believe this is prone to happen once a month, when visit-metrics are removed from publisher objects.
Brave Version
0.21.19
about:brave info:
Reproducible on current live release:
Yes
Additional Information
Below are two objects. The first one prevents Brave from loading properly.
The text was updated successfully, but these errors were encountered: