SAP Knowledge Base Article - Preview

3199526 - "Exception: Invalid byte 1 of 1-byte UTF-8 sequence" with activity 'Generate System-Level Metrics'

Symptom

  • Activity 'Generate System-Level Metrics' fails with the errors similar to those below:

    'System-metrics templates generation failed (cause :Unexpected error occurs in task execution. (detail: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.), state:4)'


    'System-metrics templates generation failed (cause :Unexpected error occurs in task execution. (detail: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.), state:4)'


    'System-metrics templates generation failed (cause :Unexpected error occurs in task execution. (detail: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Invalid byte 2 of 3-byte UTF-8 sequence.), state:4)'



  • You notice the same error message in the SMDAgentApplication.log of Diagnostics Agent on the same server as Wily Introscope Enterprise Manager:

    • MM DD, YYYY HH:MM:SS AM [Thread[Thread-5,5,main]                      ] Error      Error occurs in task during Single Setup Task Executor installation
      [EXCEPTION]
      com.sap.smd.agent.wily.emsetup.exception.SetupTaskActionException: Unexpected error occurs during System level metrics generation.; nested exception is: 
       com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
       at com.sap.smd.agent.wily.emsetup.tasks.impl.EMAgentsConfiguration.execute(EMAgentsConfiguration.java:228)
       at com.sap.smd.agent.wily.emsetup.setupaction.SingleTaskExecution.runTask(SingleTaskExecution.java:293)
       at com.sap.smd.agent.wily.emsetup.setupaction.SingleTaskExecution.run(SingleTaskExecution.java:101)
       at com.sap.smd.agent.wily.emsetup.setupaction.SingleTaskExecution.execute(SingleTaskExecution.java:126)
       at com.sap.smd.agent.wily.emsetup.WilyEMServiceFactory.executeSingleTask(WilyEMServiceFactory.java:365)
       at com.sap.smd.agent.wily.emsetup.WilyEMServiceFactory.executeTask(WilyEMServiceFactory.java:170)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:241)
       at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:483)
       at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:282)
       at com.sap.engine.services.rmi_p4.DispatchImpl.run(DispatchImpl.java:759)
       at java.lang.Thread.run(Thread.java:836)
      Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
       


Read more...

Environment

  • SAP Solution Manager 7.2

Product

SAP Solution Manager 7.2

Keywords

KBA , SV-SMG-DIA-SRV-AGT , Agent Framework , SV-SMG-DIA-WLY-EMS , Enterprise Manager Setup , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.