Skip to content

Viewing settings view causes null reference exception #3

@shadeon

Description

@shadeon

Issue

When clicking on the settings view under Management Packs (community) the error message below is shown:

image

This is then followed by a JIT exception (below). Clicking continue allows the SCOM console to continue functioning, clicking quit causes it to crash.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Community.ManagementPackCatalog.UI.DataConnectors.ConfigurationPackConnector.GetPackUpdateMonitorSetting()
   at Community.ManagementPackCatalog.UI.CommunityCatalogSettings.CheckCurrentConfiguration()
   at Community.ManagementPackCatalog.UI.CommunityCatalogSettings..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.CreateView(Object parent, Type viewType, IViewParameters viewParameters)
   at Microsoft.EnterpriseManagement.ConsoleFramework.ViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state)

Environment

SCOM 2012 R2 console version 7.1.10226.1360

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions