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>])

Google Groups | hugo.f...@beubi.com (JIRA) | 5 months ago
  1. 0

    [JIRA] (JENKINS-36307) "Can not read hook payload" exception whenever a hook is received

    Google Groups | 5 months ago | hugo.f...@beubi.com (JIRA)
    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>])
  2. 0

    {code:java} Can not read hook payload 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@7dd7306; line: 1, column: 345] (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) 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) {code}

    Jenkins JIRA | 5 months ago | hugo fonseca
    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@7dd7306; line: 1, column: 345] (through reference chain: com.cloudbees.jenkins.plugins.bitbucket.client.events.BitbucketCloudPullRequestEvent["repository"])
  3. 0

    Json and abstract class 'Can not construct instance'

    Stack Overflow | 3 years ago | johnnyGor
    org.codehaus.jackson.map.JsonMappingException: 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"])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring and Jackson Mapper Can not deserialize instance of CUSTOM_CLASS out of START_OBJECT

    Stack Overflow | 4 years ago | Alexandr
    org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: libcore.net.http.ChunkedInputStream@417f4378; line: 1, column: 1]
  6. 0

    failure reading settings from disk

    GitHub | 5 years ago | forkner
    org.codehaus.jackson.map.JsonMappingException: No suitable constructor found for type [simple type, class org.lantern.httpseverywhere.HttpsEverywhere$HttpsRuleSet]: can not instantiate from JSON object (need to add/enable type information?) at [Source: java.io.StringReader@4b2dd538; line: 157, column: 9] (through reference chain: org.lantern.Settings["httpsEverywhere"]->org.lantern.httpseverywhere.HttpsEverywhere["rules"])

    28 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Data Mapper for Jackson
      ObjectMapper.readValue
      1. org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)
      2. org.codehaus.jackson.map.deser.StdDeserializationContext.instantiationException(StdDeserializationContext.java:233)
      3. org.codehaus.jackson.map.deser.AbstractDeserializer.deserialize(AbstractDeserializer.java:60)
      4. org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
      5. org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
      6. org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
      7. org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
      8. org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732)
      9. org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1863)
      9 frames
    3. com.cloudbees.jenkins
      BitbucketSCMSourcePushHookReceiver.doNotify
      1. com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudWebhookPayload.parse(BitbucketCloudWebhookPayload.java:65)
      2. com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudWebhookPayload.pullRequestEventFromPayload(BitbucketCloudWebhookPayload.java:56)
      3. com.cloudbees.jenkins.plugins.bitbucket.hooks.PullRequestHookProcessor.process(PullRequestHookProcessor.java:39)
      4. com.cloudbees.jenkins.plugins.bitbucket.hooks.BitbucketSCMSourcePushHookReceiver.doNotify(BitbucketSCMSourcePushHookReceiver.java:75)
      4 frames