org.codehaus.jackson.map.JsonMappingException: Can not construct instance of com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRepository, problem: abstract types can only be instantiated with additional type information at [Source: java.io.StringReader@562aebe5; line: 1, column: 2396] (through reference chain: com.cloudbees.jenkins.plugins.bitbucket.client.events.BitbucketCloudPullRequestEvent["repository"])

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

Types used for deserialization should be used in the way such that the annotation @JsonTypeInfo is visible.

Solutions on the web

via Jenkins JIRA by Antonio Muñiz, 1 year ago
Can not construct instance of com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRepository, problem: abstract types can only be instantiated with additional type information at [Source: java.io.StringReader@562aebe5; line: 1, column: 2396] (through reference chain: com.cloudbees.jenkins.plugins.bitbucket.client.events.BitbucketCloudPullRequestEvent["repository"])
via Stack Overflow by user2601512
, 2 years ago
Can not construct instance of com.despegar.henry.automation.services.semaphoreservice.response.ISemaphore, problem: abstract types can only be instantiated with additional type information at [Source: java.io.StringReader@17a5f5a5; line: 1, column: 2] (through reference chain: com.despegar.henry.automation.services.semaphoreservice.response.SemaphoreResponse["semaphore"])
via Jenkins JIRA by hugo fonseca, 1 year ago
Can not construct instance of com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRepository, problem: abstract types can only be instantiated with additional type information at [Source: java.io.StringReader@7dd7306; line: 1, column: 345] (through reference chain: com.cloudbees.jenkins.plugins.bitbucket.client.events.BitbucketCloudPullRequestEvent["repository"])
via Google Groups by hugo.f...@beubi.com (JIRA), 1 year ago
Can not construct instance of com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRepository, problem: <span class="code-keyword" style="color: #000091">abstract</span> types can only be instantiated with additional type information at [Source
via Stack Overflow by Danubian Sailor
, 1 year ago
Can not construct instance of ocl.mobile.service.data.order.DetailedOrder, problem: abstract types can only be instantiated with additional type information at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@97eded; line: 1, column: 2] (through reference chain: ocl.mobile.service.OrderDetailsResult["order"])
via Stack Overflow by johnnyGor
, 2 years ago
Can not construct instance of com.pl.model.MLMObject, problem: abstract types can only be instantiated with additional type information at [Source: java.io.StringReader@a06816; line: 1, column: 34] (through reference chain: com.pl.model.MLMResponse["object"])
org.codehaus.jackson.map.JsonMappingException: Can not construct instance of com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRepository, problem: abstract types can only be instantiated with additional type information at [Source: java.io.StringReader@562aebe5; line: 1, column: 2396] (through reference chain: com.cloudbees.jenkins.plugins.bitbucket.client.events.BitbucketCloudPullRequestEvent["repository"])
at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)
at org.codehaus.jackson.map.deser.StdDeserializationContext.instantiationException(StdDeserializationContext.java:233)
at org.codehaus.jackson.map.deser.AbstractDeserializer.deserialize(AbstractDeserializer.java:60)
at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)

Users with the same issue

Once, 4 weeks ago
22 times, 1 month ago
10 times, 5 months ago
177 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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