APM Remote - Error occurred while running the IvaraRemotePackager.exe


 Product(s):APM Implementation and Performance Management
 Version(s):7.10
 Environment:N\A
 Area:N/A
 Subarea:N\A

Problem

‘IvaraRemotePackager.exe’ throwing this error upon the launch:


Error Message:

System.NullReferenceException: Object reference not set to an instance of an object.
 at Ivara.Setup.Packager.WorkingFiles.SetupWorkingDirectories(String workingSubDirectory, String sourceFilesRelativePath, String deploymentProductPath, Boolean addedFilesStartWithDirectorySeparator, String versionFileXml, String installFileName)
 at Ivara.Setup.Packager.Remote.Program.InitializeWorkingFiles()
 at Ivara.Setup.Packager.Remote.Program.Main()

Solution

1. During investigation we found that User has added a logging criteria "Ivara.Client.Plugins.Hardware.Windows8UsbCamera.Windows8UsbCameraManager" with minlevel "Info" to find out the camera path ID. But, while doing so they used a custom file target having 'fileName' and 'archiveFileName' fields with "CameraManagement" value (which is not valid) as shown below;



Changing these field value to "serverLogName" resolved the issue.

2. Delete recently added logging criteria from Settings Editor. (from both ‘What to log’ and ‘Where to log’ tab)