Pages

Monday, September 23, 2019

EM 13.2: Database Performance -> Top Activity Page Reports JAVA.LANG.NULLPOINTEREXCEPTION

После обновления DB Plug-in до версии 13.2.2 периодически стала проявляться ошибка java.lang.NullPointerException при переходе на страницу Database Peformance - Top Activity.


Причина:

Hitting Bug 25455462 - ERROR JAVA.LANG.NULLPOINTEREXCEPTION OEM 13c PERFORMANCE>TOP ACTIVITY

Решения:

1. For the 13.2.2.0.0 DB plugin, the fix is included in the 13.2.2.0.170930 (OMS Side System Patch 26716235) and above patch at the OMS. For details, refer to:

Note 2275361.1 : Enterprise Manager Cloud Control Database Plugin 13.2.2.0 Bundle Patch Bug List

2. For the 13.2.1.0.0 DB plugin, the fix is included in the 13.2.1.0.171031 (OMS Side System Patch 26955301) and above patch at the OMS. For details, refer to:

Note 2219854.1 : Enterprise Manager Cloud Control Database Plugin 13.2.1.0 Bundle Patch Bug List

Обходное решение:

Below parameters can be set at the OMS side, till the above patches are applied to the setup

cd <OMS_HOME>/bin
./emctl set property -name oracle.sysman.db.perf.reposconn.inactivity_timeout -value "0"
./emctl set property -name oracle.sysman.db.perf.reposconn.abandoned_connection_timeout -value "0"
./emctl stop oms -all
./emctl start oms
Verify that the Performance -> Top Activity pages for the Database targets are showing data after this.

Я использовал обходной вариант, после чего проверил корректность выставленных настроек следующим образом:

./emctl get property -name oracle.sysman.db.perf.reposconn.inactivity_timeout
./emctl get property -name oracle.sysman.db.perf.reposconn.abandoned_connection_timeout

После этого, проблема больше не беспокоила.

Источники:

2248218.1