Neuron ESB User Network

The Service Bus for the Connected Business

I am facing weird issue with Neuron. When I try to publish(multicast) a message with RabbitMQ as transport, I am getting "Object reference null" error. But When I tried same code from the machine where Neuron is installed, Its working fine.

I am getting following exception:

System.NullReferenceException: Object reference not set to an instance of an object.
at Neuron.Esb.Channels.Amqp.AmqpChannel.Send(ESBMessage message)
at Neuron.Esb.Channels.ESBChannelManager.SendMessage(ESBMessage message)
at Neuron.Esb.Channels.ESBChannelManager.PublishInternal(ESBMessage message)
at Neuron.Esb.Channels.ESBChannelManager.Publish(ESBMessage message)
at Neuron.Esb.Channels.ESBTopicContext.Publish(ESBMessage message)
at Neuron.Esb.Party.SendMessage(ESBMessage message, Boolean duplicateMessage)
at Neuron.Esb.Party.SendMessage(ESBMessage message, SendOptions options, String targetId, String action, String schema)
at Neuron.Esb.Party.Send(String topic, Object obj, SendOptions options, String targetId, DateTime expires, String action, String schema)
at Neuron.Esb.Party.Send(String topic, Object obj, SendOptions options, String targetId, DateTime expires, String schema)
at Neuron.Esb.Party.Send(String topic, Object obj, SendOptions options, String targetId)
at Neuron.Esb.Party.Send(String topic, Object obj, SendOptions options)
at Neudesic.EnterpriseServiceBus.Samples.Sender.Main(String[] args) in 

 

Views: 1285

Reply to This

Replies to This Discussion

Can you tell us what build of Neuron ESB you are running?

Also, you post suggests you are using the client API to publish a message from a remote machine.  Is that true?  if so, can you provide us the list of our assemblies that you have deployed to the remote machine?

Yes, I am trying to publish from some other machine which is in same domain. When I try to publish from machine where once I installed trial version but now its expired. This machine is also different than actual Neuron dev machine. But on the other machine (where expired trial version was there), its working fine.

Neuron 3.1.0.238

Neuron Assembly: 3.0.0.0

Dlls:

log4net.dll
Neuron.CommandLine
Neuron.DiscoveryService.Contracts
Neuron
Neuron.Esb
Neuron.Esb.JavaScript
Neuron.Esb.Library.Helper
Neuron.Esb.Pipelines.Design
Neuron.Esb.Pipelines.JavaScript
Neuron.Esb.XmlSerializers
Neuron.Pipelines.Design
Neuron.Pipelines
Neuron.Scripting.Design
Neuron.Scripting
RabbitMQ.Client

Generally we get first reply very fast, but after that there is no response. :)

Finally, I found the reason and resolved it. 

Here are the steps so that other may get help:

1. In my event viewer, I was seeing following error: "There was an error connecting to "amqp-0-9://localhost:5672" for the RabbitMQ channel for topic "AruWorkflows": Connection failed"

2. It was trying to connect to localhost while I do not have rabbitmq on my local machine.

3. This error was coming because Neuron and RabbitMq are on same dev machine and in Neuron, rabbitmq was configured with server name "localhost". I changed "localhost" in Neuron server to IP of dev machine and it started working fine.

4. Looks like there is some issue with Neuron code, It should not try to connect to RabbitMq directly from client. Publisher/client is communicating with Neuron and Neuron should communicate with RabbitMq.

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service