Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bull
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OptimalBits
  • bull
  • Issues
  • #76
Closed
Open
Issue created Jan 22, 2015 by Administrator@rootContributor

Cannot call method 'bind' of undefined

Created by: lchenay

Error append in https://github.com/OptimalBits/bull/blob/25480022f1c01b782afb0b81c68bad65b2933615/lib/queue.js#L287.

One of the root cause if : https://github.com/OptimalBits/bull/blob/25480022f1c01b782afb0b81c68bad65b2933615/lib/queue.js#L58

Step to produce error:

  • Create a queue in order to add a new job to process.
  • Do not call queue.process() (worker that process job are separated from code that create job)
  • Close connection between redis and client.
  • This line https://github.com/OptimalBits/bull/blob/25480022f1c01b782afb0b81c68bad65b2933615/lib/queue.js#L68 will detect connection end and will try to rerun the queue. But this last one have no handler on client side, it's only use to push new job.
Assignee
Assign to
Time tracking