Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Network Performance Monitor (NPM) > The Orion Web Console does not launch and there are XML errors in the log

The Orion Web Console does not launch and there are XML errors in the log

Updated March 13, 2017

Overview

If there is an extraneous file in your \Orion\Modules folder, such as a shortcut, the Orion Web Console does not launch, syslogs and traps restart constantly, and the log files have errors similar to the following:

ERROR SolarWinds.Orion.Core.Common.LocalFeatureManager - (null)	 Licensing refresh (Task<FeatureSet>){1, Faulted} failed. System.AggregateException: One or more errors occurred. ---> System.TypeInitializationException: The type initializer for 'SolarWinds.Orion.Core.Common.ModulesCollector' threw an exception. ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.ParseModuleXml(ModuleInfo moduleInfo, IDictionary`2 collection, XmlReader xmlreader)
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.LoadModulesInfoFromXmlFiles(Dictionary`2 collection, IEnumerable`1 files)
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.Load()
   at SolarWinds.Orion.Core.Common.ModulesCollector.ReloadModuleInfo()
   at SolarWinds.Orion.Core.Common.ModulesCollector..cctor()
   --- End of inner exception stack trace ---
   at SolarWinds.Orion.Core.Common.ModulesCollector.GetInstalledModules()
   at SolarWinds.Orion.Core.Common.InstalledProductSource.SolarWinds.Orion.Core.Common.IInstalledProductSource.GetModules()
   at SolarWinds.Orion.Core.Common.LicensedProductSource.<SolarWinds.Orion.Core.Common.ILicensedProductSource.GetLicensedModules>d__e.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at SolarWinds.Orion.Core.Common.LocalFeatureManager.GetFeatures()
   at SolarWinds.Orion.Core.Common.CachedFeatureSet.RefreshUpdateAndGetInTask()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
   at SolarWinds.Orion.Core.Common.CachedFeatureSet.WaitForRefresh(Task`1 getFeatures, Boolean needsResult, FeatureSet& features)
---> (Inner Exception #0) System.TypeInitializationException: The type initializer for 'SolarWinds.Orion.Core.Common.ModulesCollector' threw an exception. ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.ParseModuleXml(ModuleInfo moduleInfo, IDictionary`2 collection, XmlReader xmlreader)
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.LoadModulesInfoFromXmlFiles(Dictionary`2 collection, IEnumerable`1 files)
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.Load()
   at SolarWinds.Orion.Core.Common.ModulesCollector.ReloadModuleInfo()
   at SolarWinds.Orion.Core.Common.ModulesCollector..cctor()
   --- End of inner exception stack trace ---
   at SolarWinds.Orion.Core.Common.ModulesCollector.GetInstalledModules()
   at SolarWinds.Orion.Core.Common.InstalledProductSource.SolarWinds.Orion.Core.Common.IInstalledProductSource.GetModules()
   at SolarWinds.Orion.Core.Common.LicensedProductSource.<SolarWinds.Orion.Core.Common.ILicensedProductSource.GetLicensedModules>d__e.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at SolarWinds.Orion.Core.Common.LocalFeatureManager.GetFeatures()
   at SolarWinds.Orion.Core.Common.CachedFeatureSet.RefreshUpdateAndGetInTask()
   at System.Threading.Tasks.Task`1.InnerInvoke(

 

Environment

Products running on Orion Platform version 2016.2, such as:

  • NPM 12.0.1
  • SAM 6.3

 

Cause 

The XML files cannot be read correctly due to the extraneous file

 

Resolution

  1. Remove the extraneous file.

 

 

 

 

Last modified
15:10, 13 Mar 2017

Tags

Classifications

Public