Closed TimDaub closed 1 year ago
2023-10-16T16:52:56: 2023-10-16T16:52:56.676Z @attestate/delegator2 Existing delegation for the "to" address: 0x03E16AF2f65Ac64054Dfb5480F7BE9B596ADC362 2023-10-16T16:52:57: file:///root/kiwistand/src/karma.mjs:105 2023-10-16T16:52:57: list.push({ identity, karma: data.points }); 2023-10-16T16:52:57: ^ 2023-10-16T16:52:57: 2023-10-16T16:52:57: TypeError: Cannot read properties of null (reading 'points') 2023-10-16T16:52:57: at Module.ranking (file:///root/kiwistand/src/karma.mjs:105:39) 2023-10-16T16:52:57: at default (file:///root/kiwistand/src/views/community.mjs:20:23) 2023-10-16T16:52:57: at file:///root/kiwistand/src/http.mjs:169:27 2023-10-16T16:52:57: at Layer.handle [as handle_request] (/root/kiwistand/node_modules/expr ess/lib/router/layer.js:95:5) 2023-10-16T16:52:57: at next (/root/kiwistand/node_modules/express/lib/router/route.js:144: 13) 2023-10-16T16:52:57: at Route.dispatch (/root/kiwistand/node_modules/express/lib/router/rou te.js:114:3) 2023-10-16T16:52:57: at Layer.handle [as handle_request] (/root/kiwistand/node_modules/expr ess/lib/router/layer.js:95:5) 2023-10-16T16:52:57: at /root/kiwistand/node_modules/express/lib/router/index.js:284:15 2023-10-16T16:52:57: at Function.process_params (/root/kiwistand/node_modules/express/lib/router/index.js:346:12) 2023-10-16T16:52:57: at next (/root/kiwistand/node_modules/express/lib/router/index.js:280:10) 2023-10-16T16:52:57: 2023-10-16T16:52:57: Node.js v19.9.0
a user observed that the server crashes
2023-10-16T11:06:26: 2023-10-16T11:06:26.242Z @attestate/delegator2 Existing delegation for the "to" address: 0x03E16AF2f65Ac64054Dfb5480F7BE9B596ADC362 2023-10-16T11:06:26: file:///root/kiwistand/src/karma.mjs:7 2023-10-16T11:06:26: .map((user) => user.submissions) 2023-10-16T11:06:26: ^ 2023-10-16T11:06:26: 2023-10-16T11:06:26: TypeError: Cannot read properties of null (reading 'submissions') 2023-10-16T11:06:26: at file:///root/kiwistand/src/karma.mjs:7:25 2023-10-16T11:06:26: at Array.map ()
2023-10-16T11:06:26: at getBaselineSubmissions (file:///root/kiwistand/src/karma.mjs:7:6)
2023-10-16T11:06:26: at Module.score (file:///root/kiwistand/src/karma.mjs:31:31)
2023-10-16T11:06:26: at file:///root/kiwistand/src/views/feed.mjs:219:53
2023-10-16T11:06:26: at Array.map ()
2023-10-16T11:06:26: at index (file:///root/kiwistand/src/views/feed.mjs:219:8)
2023-10-16T11:06:26: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-10-16T11:06:26: at async default (file:///root/kiwistand/src/views/feed.mjs:271:51)
2023-10-16T11:06:26: at async file:///root/kiwistand/src/http.mjs:111:21
2023-10-16T11:06:26:
2023-10-16T11:06:26: Node.js v19.9.0
2023-10-16T11:06:28: 2023-10-16T11:06:28.348Z @attestate/kiwistand Launching as bootstrap node