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

Crash after click on failed job #295

Open
matteomattei opened this issue Nov 26, 2020 · 4 comments
Open

Crash after click on failed job #295

matteomattei opened this issue Nov 26, 2020 · 4 comments

Comments

@matteomattei
Copy link

I have a failed job, I click on it and I obtain the following error in the console:

TypeError: Cannot read property 'id' of null
     at /home/matteo/QueueMonitor/node_modules/bull-arena/src/server/views/dashboard/queueJobsByState.js:106:49
     at Array.map (<anonymous>)
     at _html (/home/matteo/QueueMonitor/node_modules/bull-arena/src/server/views/dashboard/queueJobsByState.js:105:12)
     at processTicksAndRejections (internal/process/task_queues.js:97:5)
@skeggse
Copy link
Member

skeggse commented Nov 26, 2020

This mostly sounds like a bug in bull. Probably something related to listing jobs that then get removed. Is this a consistent problem? What versions of the packages are you using?

This looks like it's not in the job view, based on the stack trace. Would you clarify what it is you're clicking on that yields this result?

@matteomattei
Copy link
Author

matteomattei commented Nov 26, 2020

bull version 3.19.1
bull-arena version 3.6.0

The error happens when I click the "failed" link:

image

@skeggse
Copy link
Member

skeggse commented Nov 26, 2020

Thanks for the extra detail. Are you processing a lot of jobs quickly? Is this failed job persisting, or does it come and go?

@matteomattei
Copy link
Author

It is a job failed due to a missing connection to a remote endpoint in the worker process which resulted to an axios catch block.

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

2 participants