Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Troubleshooter does not work due to RangeError: Invalid array length #181

Open
HarHarLinks opened this issue Jul 2, 2023 · 0 comments
Open

Comments

@HarHarLinks
Copy link

Uncaught (in promise) RangeError: Invalid array length
    at paintFingerprintDiff (<anonymous>:180:19)
    at renderTroubleshooter (<anonymous>:3:5)
    at HTMLSelectElement.episodeChanged (<anonymous>:162:17)

which is

fpDiff.length = Math.min(fp1.length, fp2.length) - Math.abs(offset);

offset is NaN here.
Going one step back to

paintFingerprintDiff(canvas, lhs, rhs, Number(offset.value));

offset is at least sometimes a number, as tested in the console e.g.

1135602

however offset.value is just undefined.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant