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

Send messages from a manager to an agent and client conversation displays error "Exception while invoking method 'sendMessage' TypeError: Cannot read property 'blocker' of undefined" #8936

Closed
soumarcelino opened this issue Nov 23, 2017 · 1 comment · Fixed by #10663

Comments

@soumarcelino
Copy link

Description:

This error show when a livechat manager send a message into a running chat

display

Server Setup Information:

Version of Rocket.Chat Server: 0.60.0-develop
Operating System: Ubuntu 16.10
Deployment Method(snap/docker/tar/etc): all
Number of Running Instances: 1
DB Replicaset Oplog: ?
Node Version: v8.8.1

image

Steps to Reproduce:

  1. A manager enters a live chat with an agent and client.

  2. The manager sends a message but no one receives the message.

  3. Errors are displayed on the console

Expected behavior:

I hope the manager's message is seen by the agent and the client.

Actual behavior:

The manager's message is not sent to anyone.

Relevant logs:

I20171123-14:43:57.583(-3)? Exception while invoking method 'sendMessage' TypeError: Cannot read property 'blocker' of undefined
I20171123-14:43:57.679(-3)? at DDPCommon.MethodInvocation.sendMessage (/home/marcelino/Rocket.Chat/.meteor/local/build/programs/server/packages/rocketchat_lib.js:13912:60)
I20171123-14:43:57.679(-3)? at DDPCommon.MethodInvocation.methodsMap.(anonymous function) (/home/marcelino/Rocket.Chat/.meteor/local/build/programs/server/packages/rocketchat_lib.js:1265:26)
I20171123-14:43:57.679(-3)? at DDPCommon.MethodInvocation.methodMap.(anonymous function) (packages/rocketchat_monitoring.js:2731:30)
I20171123-14:43:57.680(-3)? at maybeAuditArgumentChecks (/home/marcelino/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:1826:12)
I20171123-14:43:57.680(-3)? at DDP._CurrentMethodInvocation.withValue (/home/marcelino/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:892:126)
I20171123-14:43:57.680(-3)? at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1184:15)
I20171123-14:43:57.680(-3)? at DDPServer._CurrentWriteFence.withValue (/home/marcelino/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:892:98)
I20171123-14:43:57.681(-3)? at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1184:15)
I20171123-14:43:57.681(-3)? at Promise (/home/marcelino/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:892:46)
I20171123-14:43:57.681(-3)? at new Promise (:null:null)
I20171123-14:43:57.681(-3)? at Session.method (/home/marcelino/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:865:23)
I20171123-14:43:57.681(-3)? at /home/marcelino/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:744:85

image

image

@soumarcelino soumarcelino changed the title Send messages from Current Chats Gives error "Exception while invoking method 'sendMessage' TypeError: Cannot read property 'blocker' of undefined" Send messages from a manager to an agent and client conversation displays error "Exception while invoking method 'sendMessage' TypeError: Cannot read property 'blocker' of undefined" Nov 23, 2017
@soumarcelino
Copy link
Author

This problem also occurs in version 0.59.3 in Live Chat

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

Successfully merging a pull request may close this issue.

4 participants