abreits / node-red-contrib-amqp

Node-RED AMQP input and output nodes
16 stars 19 forks source link

Assertion `(object-> InternalFieldCount()) > (0)' failed. #16

Open krajasekhar opened 6 years ago

krajasekhar commented 6 years ago

Hi, I have a flow having select and update operations with postgres database using the node (node-red-contrib-postgres). This is working properly when I manually give the value using Inject but when I get the same message from rabbitmq server (both persistent&non-persistent), getting the below response and my server application/node-red server is going down.

C:\Program Files\nodejs\node.exe: c:\ws\src\util-inl.h:243: Assertion `(object->
InternalFieldCount()) > (0)' failed.

When i send the amqp receiver node directly to debug node without connection to other nodes it is receiving the messages properly. I tried by connecting to further nodes in my flow and each time it is stopping at different node (but mostly at postgres node) with the above error. No issues faced when tried without amqp receiver. Please help.

node-red version: "0.18.7" node-red-contrib-amqp version: "0.4.4" node-red-contrib-postgres version: "0.6.1" rabbitmq_server-3.6.10 (local) Erlang 20.0

krajasekhar commented 6 years ago

Understood that, This issue is coming whenever i connect any node to 2 or more nodes next to it when the request is coming from AMQP receiver. I even tried setting a return of a function to [msg,msg] and connecting 2 outputs to different nodes but no difference. However returning [msg,null], [null,msg] is not throwing any error.

RPSimon commented 5 years ago

Well I'm having the same error! When every I connect to outputs to a AMQP receiver the receiver, node-red is crashing