org.codehaus.jackson.map.JsonMappingException

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: java.io.StringReader@7dd7306; line: 1, column: 345] (through reference chain: com.cloudbees.jenkins.plugins.bitbucket.client.events.BitbucketCloudPullRequestEvent[<span class="code-quote" style="color: #009100">"repository"</span>])

Solutions on the web403

  • via Google Groups by hugo.f...@beubi.com (JIRA), 10 months 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 Jenkins JIRA by hugo fonseca, 10 months 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 Jenkins JIRA by Antonio Muñiz, 11 months 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"])
  • Stack trace

    • org.codehaus.jackson.map.JsonMappingException: 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: java.io.StringReader@7dd7306; line: 1, column: 345] (through reference chain: com.cloudbees.jenkins.plugins.bitbucket.client.events.BitbucketCloudPullRequestEvent[<span class="code-quote" style="color: #009100">"repository"</span>]) 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) at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732) at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1863) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudWebhookPayload.parse(BitbucketCloudWebhookPayload.java:65) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudWebhookPayload.pullRequestEventFromPayload(BitbucketCloudWebhookPayload.java:56) at com.cloudbees.jenkins.plugins.bitbucket.hooks.PullRequestHookProcessor.process(PullRequestHookProcessor.java:39) at com.cloudbees.jenkins.plugins.bitbucket.hooks.BitbucketSCMSourcePushHookReceiver.doNotify(BitbucketSCMSourcePushHookReceiver.java:75)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    10 times, 1 month ago
    177 times, 1 month ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    23 more bugmates