EM 12c : EM Agent Upload / emctl upload Fails With 'Disabling the upload system due to protocol internal programming exception java.lang.Illegal StateException Encoding format error' 'UPLOAD_SYSTEM_FATAL_ERROR' (Doc ID 1562784.1)

Last updated on FEBRUARY 05, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 to 12.1.0.4.0 [Release 12.1]
Information in this document applies to any platform.

Symptoms

$/AGENT_INST/bin/emctl upload agent

fails with the following error

Oracle Enterprise Manager Cloud Control 12c Release 2
 Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
 ---------------------------------------------------------------
 EMD upload error:full upload has failed: Disabling the upload system due to protocol internal programming exception

$/AGENT_INST/bin/emctl status agent

shows Collection Status  UPLOAD_SYSTEM_FATAL_ERROR

Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 12.1.0.2.0
OMS Version       : 12.1.0.2.0
Protocol Version  : 12.1.0.1.0
Agent Home        : /u01/app/agent/agent12c/agent_inst
Agent Binaries    : /u01/app/agent/agent12c/core/12.1.0.2.0
Agent Process ID  : 6985
Parent Process ID : 6959
Agent URL         : https://agentname.oracle.com:3872/emd/main/
Repository URL    : https://omsname.oracle.com:1159/empbs/upload
Started at        : 2013-03-26 11:57:29
Started by user   : oracle
Last Reload       : (none)
Last successful upload                       : 2013-03-26 11:58:24
Last attempted upload                        : 2013-03-26 11:58:24
Total Megabytes of XML files uploaded so far : 0.01
Number of XML files pending upload           : 9
Size of XML files pending upload(MB)         : 0.11
Available disk space on upload filesystem    : 79.52%
Collection Status                            : [UPLOAD_SYSTEM_FATAL_ERROR]
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2013-03-26 11:58:47
Last successful heartbeat to OMS             : 2013-03-26 11:58:47
Next scheduled heartbeat to OMS              : 2013-03-26 11:59:48

---------------------------------------------------------------
Agent is Running and Ready

/AGENT_INST/sysman/log/gcagent.log reports the following message

2013-03-26 11:58:24,786 [41:GC.Upload[2]] ERROR - Disabling the upload system due to protocol internal programming exception
java.lang.IllegalStateException: Encoding format error at
oracle.sysman.gcagent.common.PropertiesEncoderDecoder.decodePairs(PropertiesEncoderDecoder.java:75)
...
2013-03-26 11:59:24,837 [34:8EA3430B] INFO - >>> Reporting exception: oracle.sysman.emSDK.agent.client.exception.UploadException: Disabling the
upload system due to protocol internal programming exception
___________________________
 (UPLOAD_FAILURE) (request id 1) <<<
oracle.sysman.emSDK.agent.client.exception.UploadException: Disabling the upload system due to protocol internal programming exception

/AGENT_INST/sysman/log/gcagent_errors.log reports the following message

2013-09-04 02:56:04,254 [25:GC.Upload[2]] ERROR - Disabling the upload system due to protocol internal programming exception
java.lang.NullPointerException

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