com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input at [Source: ; line: 1, column: 1]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Try indicating constructor to use @JsonCreator annotation.

,

You are trying to deserialize a type for which Jackson does not provide a default mapper. You should create your custom mapper for this type.

Solutions on the web

via Google Groups by pjan...@redhat.com (JIRA), 1 year ago
No content to map due to end-of-input at [Source: ; line: 1, column: 1]
via scriptscoop.com by Unknown author, 2 years ago
No content to map due to end-of-input at [Source: java.io.BufferedReader@5e66c5fc; line: 1, column: 1]
via pr8x.com by Unknown author, 1 year ago
No content to map due to end-of-input at [Source: java.io.BufferedReader@5e66c5fc; line: 1, column: 1]
via xluat.com by Unknown author, 2 years ago
No content to map due to end-of-input at [Source: java.io.BufferedReader@5e66c5fc; line: 1, column: 1]
via Stack Overflow by Ram Dutt Shukla
, 11 months ago
No content to map due to end-of-input at [Source: java.io.BufferedReader@5e66c5fc; line: 1, column: 1]
via Stack Overflow by Arian Hosseinzadeh
, 7 months ago
No content to map due to end-of-input at [Source: org.apache.catalina.connector.CoyoteInputStream@3f636b5b; line: 1, column: 0]
com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input at [Source: ; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3781)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3721)
at com.redhat.foreman.ForemanAPI.getHostParameterValue(ForemanAPI.java:200)
at com.redhat.foreman.ForemanAPI.getHostForQuery(ForemanAPI.java:305)
at com.redhat.foreman.ForemanAPI.getCompatibleHosts(ForemanAPI.java:322)
at com.redhat.foreman.ForemanSharedNodeCloud.canProvision(ForemanSharedNodeCloud.java:159)
at hudson.model.Label.getClouds(Label.java:227)
at hudson.model.Label.isEmpty(Label.java:435)
at jenkins.model.Jenkins.trimLabels(Jenkins.java:1725)
at jenkins.model.Nodes$2.run(Nodes.java:137)
at hudson.model.Queue._withLock(Queue.java:1289)
at hudson.model.Queue.withLock(Queue.java:1172)
at jenkins.model.Nodes.addNode(Nodes.java:132)
at jenkins.model.Jenkins.addNode(Jenkins.java:1693)
at hudson.slaves.NodeProvisioner$2.run(NodeProvisioner.java:226)
at hudson.model.Queue._withLock(Queue.java:1289)
at hudson.model.Queue.withLock(Queue.java:1172)
at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:208)
at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:57)
at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:775)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

Users with the same issue

2 times, 6 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.