Knowledge Base

Showing results for 
Search instead for 
Did you mean: 

The Solaris Machine is encountering the "JsonMappingException" exception. How do I resolve this?


When trying to start the Machine Agent with server visibility, you are seeing the exception below:

[extension-scheduler-pool-4] 26 Jun 2018 12:32:06,394 ERROR RawCollectorUtil - Could not collect raw data
com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
at [Source: ; line: 1, column: 0]
at com.fasterxml.jackson.databind.JsonMappingException.from(
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(
at com.fasterxml.jackson.databind.ObjectMapper.readValue(
at com.appdynamics.sim.agent.extensions.servers.collector.RawCollectorUtil.runCollector(
at com.appdynamics.sim.agent.extensions.servers.collector.RawCollectorUtil.runCollector(
at com.appdynamics.sim.agent.extensions.servers.model.solaris.SolarisRawCollector.collectRawData(
at com.appdynamics.sim.agent.extensions.servers.model.solaris.SolarisRawCollector.collectRawData(
at com.appdynamics.sim.agent.extensions.servers.model.Server.collectAndReport(
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask.runAndReset(
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
at java.util.concurrent.ScheduledThreadPoolExecutor$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
[AD Thread-Metric Reporter1] 26 Jun 2018 12:32:06,401 DEBUG ManagedMonitorDelegate - REST
Sending Binary payload Size : 226 bytes
[extension-scheduler-pool-4] 26 Jun 2018 12:32:06,408 ERROR RawCollectorUtil - The standard out from the collector script was: 
[extension-scheduler-pool-4] 26 Jun 2018 12:32:06,408 WARN RawCollectorUtil - The error log from the collector script was: bash: line 739: syntax error near unexpected token `","'
bash: line 739: ` [ $print_comma -eq 0 ] && print_comma=1 || jsonStringsArr+=(",")'



Validate your Bash version using command below:

bash -version 


The Bash version should be at least 3.1. Specifically, you will need a Bash version that supports arrays. Upgrading the Bash version and restarting the Machine Agent should resolve this.

Version history
Revision #:
4 of 4
Last update:
‎08-15-2018 10:46 AM
Updated by:
Labels (1)

Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
0 Kudos