My Oracle Support Banner

On BDA V4.1 with Plugin OEM Reports "java.lang.NullPointerException at java.lang.String.compareTo" Followed by OutOfMemoryError (Doc ID 2019692.1)

Last updated on DECEMBER 04, 2019

Applies to:

Enterprise Manager for Big Data Appliance - Version and later
Linux x86-64


NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner.

On BDA V4.1/OL6 with the plugin OEM reports:

java.lang.NullPointerException at java.lang.String.compareTo(
followed by
java.lang.OutOfMemoryError: Java heap space

For example:

2015-05-19 14:15:36,330 [550076:GC.Executor.97221
  ERROR - oracle_hadoop_nodemgr:NM_bda-04_bdaclust:nm_container_exec_metrics:nm_container_exec_metrics
java.lang.NullPointerException at java.lang.String.compareTo(
2014-11-10 10:42:21,307 [728873:GC.Executor.203539 (
java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.<init>(
at java.nio.ByteBuffer.allocate(

Otherwise the agent looks healthy, the status is good, and the agent is uploading.  The listplugins command shows  the BDA plugin is deployed and the listtargets command shows the BDA targets, indicating they have been discovered.

The following commands were run to verify general monitoring agent health:

emctl status agent
emctl listplugins agent
emctl config agent listtargets
emctl getmetric agent DN_bda-04_bda,oracle_hadoop_datanode,Response
emctl getmetric agent NM_bda_bda,oracle_hadoop_nodemgr,Response


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

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