My Oracle Support Banner

EM 13c: Enterprise Manager 13c Cloud Control Agent Generates and Sends Events with Error: Java.lang.NullPointerException:oracle.sysman.gcagent.state.StateMgr:1096 (Doc ID 2260803.1)

Last updated on JUNE 13, 2023

Applies to:

Enterprise Manager for Oracle Database - Version 13.1.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Enterprise Manager Cloud Control Agent, 13.2, the Agent keeps sending the following alert:

EM Event: <hostname>:3872 - Internal error detected: java.lang.NullPointerException:oracle.sysman.gcagent.state.StateMgr:1096.
Host=<hostname>
Target type=Agent
Target name=<hostname>:3872
Categories=Diagnostics
Message=Internal error detected: java.lang.NullPointerException:oracle.sysman.gcagent.state.StateMgr:1096.
Severity=Critical
Event reported time=Dec 1, 2016 3:33:53 PM EST

Incident Dump

threadName : GC.Executor.4 (cluster:<target_name>:CRSAlert11gR2_dup)
METRIC_NAME : clusterware_alerts

OR

threadName : GC.Executor.6 (has:<target_name>:CRSAlert11gR2)
METRIC_NAME : CRSAlert

Stack Trace
-----------
java.lang.NullPointerException
at oracle.sysman.gcagent.state.StateMgr.upsertStateEntry(StateMgr.java:1096)
at oracle.sysman.gcagent.state.StateMgr.upsertStateEntry(StateMgr.java:1063)
at oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.updateLastEvalTS(ExecuteTask.java:2770)
at oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.processMultipleResultSetForTimestamp(ExecuteTask.java:3742)
at oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.processMultipleResultSet(ExecuteTask.java:3669)
at oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.runTask(ExecuteTask.java:3287)
at oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.call(ExecuteTask.java:4249)
at oracle.sysman.gcagent.metadata.impl.collection.MetricColl$1.call(MetricColl.java:552)
at oracle.sysman.gcagent.metadata.impl.collection.MetricColl$1.call(MetricColl.java:513)
at oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask.accountedCall(TaskFutureImpl.java:600)
at oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask.call(TaskFutureImpl.java:644)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at oracle.sysman.gcagent.task.TaskFutureImpl.run1(TaskFutureImpl.java:373)
at oracle.sysman.gcagent.task.TaskFutureImpl.run(TaskFutureImpl.java:330)
at oracle.sysman.gcagent.task.CompositeTask.runSubtask(CompositeTask.java:70)
at oracle.sysman.gcagent.task.CompositeTask.run(CompositeTask.java:77)
at oracle.sysman.gcagent.metadata.impl.collection.CollectionItem$CollectionItemTask.run(CollectionItem.java:2571)
at oracle.sysman.gcagent.task.AbstractTemplateTask.call(AbstractTemplateTask.java:271)
at oracle.sysman.gcagent.task.AbstractTemplateTask.call(AbstractTemplateTask.java:56)
at oracle.sysman.gcagent.task.scheduler.DispatchingTaskScheduler$ReschedulingHelper$ReschedulingTask.call(DispatchingTaskScheduler.java:470)
at oracle.sysman.gcagent.task.scheduler.DispatchingTaskScheduler$ReschedulingHelper$ReschedulingTask.call(DispatchingTaskScheduler.java:432)
at oracle.sysman.gcagent.task.executor.DiagWrappedTask.call(DiagWrappedTask.java:60)
at oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask.accountedCall(TaskFutureImpl.java:600)
at oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask.call(TaskFutureImpl.java:644)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at oracle.sysman.gcagent.task.TaskFutureImpl.run1(TaskFutureImpl.java:373)
at oracle.sysman.gcagent.task.TaskFutureImpl.run(TaskFutureImpl.java:330)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at oracle.sysman.gcagent.task.executor.TrackThreadFactory$1.run(TrackThreadFactory.java:54)
at oracle.sysman.gcagent.util.system.GCAThread$RunnableWrapper.run(GCAThread.java:198)
at java.lang.Thread.run(Thread.java:745)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.