question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`clean-conversation-sidebar`: can't access property "nextElementSibling", heading is undefined

See original GitHub issue

Description

cleanSection@moz-extension://246bf754-91de-453f-8742-da698e8033a4/refined-github.js:8268:11
init@moz-extension://246bf754-91de-453f-8742-da698e8033a4/refined-github.js:8306:40
runFeature@moz-extension://246bf754-91de-453f-8742-da698e8033a4/refined-github.js:3956:26
setupPageLoad@moz-extension://246bf754-91de-453f-8742-da698e8033a4/refined-github.js:3962:40
add/<@moz-extension://246bf754-91de-453f-8742-da698e8033a4/refined-github.js:3989:60
c@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:1:5868
notifyApplicationAfterRender@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:33555
viewRenderedSnapshot@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:32471
render@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:3:10978
async*renderPage@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:26852
74395/loadResponse/<@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:7535
render@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:10783
async*loadResponse@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:7410
visitRequestCompleted@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:11467
recordResponse@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:7146
simulateRequest@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:6918
issueRequest@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:6729
visitStarted@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:11246
start@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:5972
startVisit@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:18362
visitProposedToLocation@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:11160
visitProposedToLocation@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:31233
proposeVisit@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:18134
visit@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:29268
74395/proposeVisitIfNavigatedWithAction/e.delegate.fetchResponseLoaded@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:39876
loadResponse@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:37521
async*requestSucceededWithResponse@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:38356
receive@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:3:2143
perform@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:3:1776
async*74395/visit/<@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:39457
visit@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:39342
loadSourceURL@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:37015
sourceURLChanged@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:36678
attributeChangedCallback@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:1:2915
set src@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:1:3026
navigateFrame@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:39571
linkClickIntercepted@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:37826
74395/U/this.linkClicked@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:3:12044
c@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:1:5826
notifyApplicationAfterClickingLinkToLocation@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:33035
applicationAllowsFollowingLinkToLocation@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:32802
willFollowLinkToLocation@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:30272
74395/pe/this.clickBubbled@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:17214
EventListener.handleEvent*74395/pe/this.clickCaptured@https://github.githubassets.com/assets/chunk-vendors-node_modules_manuelpuyol_turbo_dist_turbo_es2017-esm_js-be659c79aff6.js:17:16965

How to replicate the issue

  1. Go to https://github.com/refined-github/refined-github/pull/5768/files
  2. Expand the new file tree
  3. Click on a file
  4. Scroll back to the top and click on conversation
  5. Error pops up in console

I’ve also had a weird issue when clicking on the file tree once where it will set scroll to the position of the file over and over for multiple seconds, but I don’t know if that’s related, seems to be better after disabling and enabling the extension again

Extension version

22.7.11

Browser(s) used

Firefox 103.0b6

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ForsakenHarmonycommented, Oct 6, 2022

I’m no longer running into this, so I’ll close this for now

1reaction
fregantecommented, Jul 14, 2022

@yakov116 I think not. That issue was related to a change in the dom that caused RG to think “Projects” was empty. Here heading is not found at all: https://github.com/refined-github/refined-github/blob/749b028ca9591155cdcfce5226fbb615796cc625/source/features/clean-conversation-sidebar.tsx#L42-L46

Anyway I disabled the feature via yolo

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sidebar.jsx:20 Uncaught TypeError: Cannot read ...
Sidebar.jsx:20 Uncaught TypeError: Cannot read properties of undefined (reading 'map'). I am using firebase version 9 and react version 18.
Read more >
ERROR TypeError: Cannot read property title of undefined
Your browser can't play this video. Learn more. Switch camera.
Read more >
Mozilla Firefox Release Notes
803704, Lighten SocialAPI sidebar and chat borders from #000000 black to #cccccc ... 607352, Can't access the "onclick" property of XPCNativeWrapped objects ...
Read more >
angular/angular - Gitter
Hi, how do you access Response headers from A2 http get request when in subscribe() ... it gives me: Cannot read property 'abs'...
Read more >
Diff - 86bff8b8d1..adf0af4da1 - chromium/src - Git at Google
diff --git a/chrome/browser/resources/bluetooth_internals/sidebar.js ... We can't get the margins for the content-pane here by using @@ -304,8 +307,9 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found