java.io.IOException: Failed to deserialize []

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 Jenkins JIRA by Geoffrey Begen, 1 year ago
Failed to deserialize []
via Jenkins JIRA by Geoffrey Begen, 1 year ago
Failed to deserialize []
via GitHub by calshius
, 1 year ago
Failed to deserialize [{"url":"http://policestate/api/v3/repos/operationalplatform/ruby-workbench/statuses/e77d34b0cb8e79456a7df6c99e879dfec98e9082","id":2,"state":"pending","description":"The build is runnning!","target_url":"http://jenkins-police
via GitHub by marcellodesales
, 2 years ago
Failed to deserialize
via GitHub by marcellodesales
, 2 years ago
Failed to deserialize
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of org.kohsuke.github.GHCommitStatus out of START_ARRAY token at [Source: java.io.StringReader@77eed97b; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:575)
at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:569)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromArray(BeanDeserializerBase.java:1121)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:148)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:123)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
at org.kohsuke.github.Requester.parse(Requester.java:462)
at org.kohsuke.github.Requester._to(Requester.java:227)
at org.kohsuke.github.Requester.to(Requester.java:194)
at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:829)
at org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.createCommitStatus(GhprbSimpleStatus.java:179)
at org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.onBuildComplete(GhprbSimpleStatus.java:160)
at org.jenkinsci.plugins.ghprb.GhprbBuilds.onCompleted(GhprbBuilds.java:167)
at org.jenkinsci.plugins.ghprb.GhprbBuildListener.onCompleted(GhprbBuildListener.java:27)
at org.jenkinsci.plugins.ghprb.GhprbBuildListener.onCompleted(GhprbBuildListener.java:12)
at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199)
at hudson.model.Run.execute(Run.java:1796)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)

Users with the same issue

3 times, 6 days ago
Once, 6 days ago
Once, 2 weeks ago
6 times, 3 weeks ago
12 times, 3 weeks ago

Write tip

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