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

TypeError: Cannot read property 'length' of null (retryHandler.ts:102:18) #99

Open
IsaiahJTurner opened this issue Apr 3, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@IsaiahJTurner
Copy link

This error is crashing our server unrecoverabley and forcing us to replace the entire instance whenever it happens:
Hoping an urgent fix or info on how to avoid is available!

Unhandled rejection in index.js TypeError: Cannot read property 'length' of null
Apr 02 21:06:36     at /var/app/current/node_modules/@amplitude/node/src/retryHandler.ts:102:18
Apr 02 21:06:36     at Array.forEach (<anonymous>)
Apr 02 21:06:36     at RetryHandler._pruneEvents (/var/app/current/node_modules/@amplitude/node/src/retryHandler.ts:99:12)
Apr 02 21:06:36     at RetryHandler.<anonymous> (/var/app/current/node_modules/@amplitude/node/src/retryHandler.ts:61:31)
Apr 02 21:06:36     at step (/var/app/current/node_modules/tslib/tslib.js:141:27)
Apr 02 21:06:36     at Object.next (/var/app/current/node_modules/tslib/tslib.js:122:57)
Apr 02 21:06:36     at /var/app/current/node_modules/tslib/tslib.js:115:75
Apr 02 21:06:36     at new Promise (<anonymous>)
Apr 02 21:06:36     at Object.__awaiter (/var/app/current/node_modules/tslib/tslib.js:111:16)
@IsaiahJTurner IsaiahJTurner added the bug Something isn't working label Apr 3, 2021
@kelvin-lu
Copy link
Contributor

@IsaiahJTurner we'll be taking a look! and ensuring at the very least that this is not causing uncontrollable errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants