Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashing with TypeError: Cannot read properties of null (reading 'abort') when calling drainGraphStream.abort() in replication scheduler #10

Open
Powersource opened this issue Jul 25, 2023 · 1 comment

Comments

@Powersource
Copy link
Contributor

found here initially ssbc/ssb-tribes2#135 (comment) but seems to happen on main in this repo still

/home/me/prj/ssb/ssb-tribes2-demo/node_modules/.pnpm/[email protected][email protected]/node_modules/ssb-replication-scheduler/index.js:121
    drainGraphStream.abort()
                     ^

TypeError: Cannot read properties of null (reading 'abort')
    at _pause (/home/me/prj/ssb/ssb-tribes2-demo/node_modules/.pnpm/[email protected][email protected]/node_modules/ssb-replication-scheduler/index.js:121:22)
    at /home/me/prj/ssb/ssb-tribes2-demo/node_modules/.pnpm/[email protected][email protected]/node_modules/ssb-replication-scheduler/index.js:138:25
    at trigger (/home/me/prj/ssb/ssb-tribes2-demo/node_modules/.pnpm/[email protected]/node_modules/obz/index.js:11:11)
    at Function.set (/home/me/prj/ssb/ssb-tribes2-demo/node_modules/.pnpm/[email protected]/node_modules/obz/index.js:54:7)
    at Object.reindexEncrypted (/home/me/prj/ssb/ssb-tribes2-demo/node_modules/.pnpm/[email protected]/node_modules/ssb-db2/core.js:993:20)
    at Object.hooked [as reindexEncrypted] (/home/me/prj/ssb/ssb-tribes2-demo/node_modules/.pnpm/[email protected]/node_modules/hoox/index.js:10:15)
    at /home/me/prj/ssb/ssb-tribes2/listeners.js:142:22
    at /home/me/prj/ssb/ssb-tribes2-demo/node_modules/.pnpm/[email protected]/node_modules/levelup/lib/levelup.js:220:5

Node.js v18.15.0
@Powersource
Copy link
Contributor Author

curious if it happens after ssbc/ssb-tribes2#139 I suspect it does.

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

No branches or pull requests

1 participant