EM 13c: Editing the Metric Alert related Incident Rule to Select another Severity Results in java.lang.NullPointerException

(Doc ID 2415342.1)

Last updated on JULY 02, 2018

Applies to:

Enterprise Manager Base Platform - Version 13.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

An Incident rule had been configured for one of the metrics by selecting only the 'Critical' severity.
When attempting to add the 'Warning' severity of the same metric, below error was reported:

 

The <gc_inst>/em/EMGC_OMS1/sysman/log/emoms.trc reports below error

2018-06-25 06:28:29,796 [[ACTIVE] ExecuteThread: '27' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN errPopup.ErrorPopupUtil logp.251 - 
https://omshost.domain:7301/em/faces/rule-wizard/selEvt?Adf-Window-Id=w0&Adf-Page-Id=8 REQUEST_METHOD: POST View Id: /rule-wizard/selEvt
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1972)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:168)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:510)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:171)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
............
Caused by: java.lang.NullPointerException
at oracle.sysman.core.event.rules.ui.view.region.MetricAlertRegionBean.getSelKeys(MetricAlertRegionBean.java:895)
at oracle.sysman.core.event.rules.ui.view.region.MetricAlertRegionBean.metricColumnAlreadySelected(MetricAlertRegionBean.java:460)
at oracle.sysman.core.event.rules.ui.view.region.MetricAlertRegionBean.handleSelectedMetric(MetricAlertRegionBean.java:534)
at oracle.sysman.core.event.rules.ui.view.region.MetricAlertRegionBean.selectMetricsDiaglogListener(MetricAlertRegionBean.java:392)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
... 86 more

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms