Submit a ticketCall us

AnnouncementsSystem Monitoring for Dummies

Tired of monitoring failures disrupting the system, application, and service? Learn the key monitoring concepts needed to help you create sophisticated monitoring and alerting strategies that can help you save time and money. Read the eBook.

Get your free eBook.

Home > Success Center > Orion Platform > Orion - Knowledgebase Articles > Exception while configuring plugin Orion Core Services component Message Bus. System.NullReferenceException: Object reference not set to an instance of an object

Exception while configuring plugin Orion Core Services component Message Bus. System.NullReferenceException: Object reference not set to an instance of an object

Updated October 12, 2018

Overview

The following error is displayed during Configuration Wizard:

Exception while configuring plugin Orion Core Services component Message Bus. System.NullReferenceException: Object reference not set to an instance of an object.

Environment

NPM 12.1

Cause 

The following error in the Configuration Wizard log indicates that the process is attempting to delete a user account:

2018-05-09 04:13:29,558 [3] DEBUG ProcessRunner - { ProcessRunner.Run("C:\Program Files (x86)\SolarWinds\Orion\RabbitMQ\sbin\rabbitmqctl.bat", "delete_user """) entered
2018-05-09 04:13:29,558 [3] DEBUG ProcessRunner - ProcessRunner.Run() Started process PID 2268
2018-05-09 04:13:36,715 [3] DEBUG ProcessRunner - ProcessRunner.Run() Process does not block calling thread anymore.
2018-05-09 04:13:36,715 [3] INFO ProcessRunner - stdout: Deleting user "" ...


2018-05-09 04:13:36,a731 [3] INFO ProcessRunner - stderr: Error: no_such_user: 


2018-05-09 04:13:36,731 [3] INFO ProcessRunner - exit: 0
2018-05-09 04:13:36,731 [3] DEBUG ProcessRunner - } ProcessRunner.Run("C:\Program Files (x86)\SolarWinds\Orion\RabbitMQ\sbin\rabbitmqctl.bat", "delete_user """) exited
2018-05-09 04:13:36,731 [3] DEBUG MessageBusConfigurator - } ConfigureMessageBus exited

Resolution

Delete saved RabbitMQ credentials in the database.

  • Create a backup of your database
  • In your Orion server, open Database Manager
  • Click Add default server then expand to your database
  • Right-click to your database then copy-paste the following queries:
DECLARE @CredentialID nvarchar(max)
SET @CredentialID = (SELECT ID FROM [dbo].[Credential] where CredentialOwner = 'RabbitMQ')
DELETE FROM [dbo].[CredentialProperty] WHERE CredentialID = @CredentialID
DELETE FROM [dbo].[Credential] where CredentialOwner = 'RabbitMQ'
  • Re-run the Configuration Wizard

 

 

Last modified

Tags

Classifications

Public